sickill/ascii.io — comment on commit bf6b74289bb383f766b793368afb0df5adb731a7
File: app/controllers/application_controller.rb line 12
By sickill:

Maybe User.where(:id => ..).first would be better here because it won't raise AR::RecordNotFound and just return nil. It would be simpler to handle such cases.