The application controller / Rails itself currently automatically catch an ActiveRecord::NotFound exception when it is thrown. Therefore I think it would be sufficient to do User.students.find params[:id] and let Rails do the rest