Skip to content

Commit

Permalink
Merge pull request rails#43648 from ermakovov/patch-1
Browse files Browse the repository at this point in the history
docs/guides: true/false typo
  • Loading branch information
vipulnsward authored Nov 15, 2021
2 parents 5292486 + c6fcf0d commit 27f17b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_record_querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,7 @@ irb> Book.all
SELECT books.* FROM books WHERE (year_published >= 1969)
irb> Book.in_print
SELECT books.* FROM books WHERE (year_published >= 1969) AND books.out_of_print = true
SELECT books.* FROM books WHERE (year_published >= 1969) AND books.out_of_print = false
irb> Book.where('price > 50')
SELECT books.* FROM books WHERE (year_published >= 1969) AND (price > 50)
Expand Down

0 comments on commit 27f17b9

Please sign in to comment.