Remove use of deprecated finders

The old finders (from before `ActiveRecord:Relation` style chaining) are
now deprecated in Rails 4. To get ready for the big release let's switch
to the new chaining style to query the database.