Skip to content

Commit 27f17b9

Browse files
authored
Merge pull request rails#43648 from ermakovov/patch-1
docs/guides: true/false typo
2 parents 5292486 + c6fcf0d commit 27f17b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_querying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ irb> Book.all
17281728
SELECT books.* FROM books WHERE (year_published >= 1969)
17291729
17301730
irb> Book.in_print
1731-
SELECT books.* FROM books WHERE (year_published >= 1969) AND books.out_of_print = true
1731+
SELECT books.* FROM books WHERE (year_published >= 1969) AND books.out_of_print = false
17321732
17331733
irb> Book.where('price > 50')
17341734
SELECT books.* FROM books WHERE (year_published >= 1969) AND (price > 50)

0 commit comments

Comments
 (0)