Skip to content

Commit

Permalink
Merge pull request #254 from koic/remove_an_incorrect_comment_for_fin…
Browse files Browse the repository at this point in the history
…d_by

Remove an incorrect comment for `find_by` example
  • Loading branch information
koic committed Jul 16, 2019
2 parents c0edf66 + 9f5d24e commit 2e9d3e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,6 @@ User.where(first_name: 'Bruce', last_name: 'Wayne').take
# bad
User.find_by_email(email)
# bad, deprecated in Active Record 4.0, removed in 4.1+
User.find_by_first_name_and_last_name('Bruce', 'Wayne')
# good
Expand Down

0 comments on commit 2e9d3e8

Please sign in to comment.