jokeofweek/logyourday — pull request #2 by alexcoco (2013-10-07 13:19:06+00:00)
Title: Make current_user more compact

@jokeofweek

`first` will return nil if the collection is empty so this is a more compact way of doing the same thing. `find` also raises `ActiveRecord:: RecordNotFound` when nothing is found.