Updated finder syntax that is deprecated in Rails 4

find(:all) and find(:first) are deprecated in Rails 4. This commit replaces these finders with the new syntax.