We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 444df0e + 5c79b0a commit ece21c7Copy full SHA for ece21c7
activerecord/lib/active_record/relation/query_methods.rb
@@ -38,7 +38,7 @@ def initialize(scope) # :nodoc:
38
# # SELECT * FROM users WHERE name NOT IN ('Ko1', 'Nobu')
39
#
40
# User.where.not(name: "Jon", role: "admin")
41
- # # SELECT * FROM users WHERE NOT (name == 'Jon' AND role == 'admin')
+ # # SELECT * FROM users WHERE NOT (name = 'Jon' AND role = 'admin')
42
43
# If there is a non-nil condition on a nullable column in the hash condition, the records that have
44
# nil values on the nullable column won't be returned.
0 commit comments