Skip to content

Commit

Permalink
Correct spelling nullbale -> nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieltaylor committed Mar 21, 2022
1 parent 18ecdb1 commit b041815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/relation/query_methods.rb
Expand Up @@ -43,7 +43,7 @@ def initialize(scope)
#
# If there is a non-nil condition on a nullable column in the hash condition, the records that have
# nil values on the nullable column won't be returned.
# User.create!(nullbale_country: nil)
# User.create!(nullable_country: nil)
# User.where.not(nullable_country: "UK")
# # SELECT * FROM users WHERE NOT (nullable_country = 'UK')
# # => []
Expand Down

0 comments on commit b041815

Please sign in to comment.