diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index e8ddfcc9e2ed..faff1add9f10 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -92,6 +92,9 @@ Post.find(2) # Subsequent calls reuse the cached prepared statement Post.find_by_title('first post') Post.find_by_title('second post') +Post.find_by(title: 'first post') +Post.find_by(title: 'second post') + post.comments post.comments(true) ```