Skip to content

Commit 2e9d3e8

Browse files
authored
Merge pull request #254 from koic/remove_an_incorrect_comment_for_find_by
Remove an incorrect comment for `find_by` example
2 parents c0edf66 + 9f5d24e commit 2e9d3e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,6 @@ User.where(first_name: 'Bruce', last_name: 'Wayne').take
831831
832832
# bad
833833
User.find_by_email(email)
834-
# bad, deprecated in Active Record 4.0, removed in 4.1+
835834
User.find_by_first_name_and_last_name('Bruce', 'Wayne')
836835
837836
# good

0 commit comments

Comments
 (0)