diff options
Diffstat (limited to 'lib/arel/engines/sql/core_extensions/nil_class.rb')
-rw-r--r-- | lib/arel/engines/sql/core_extensions/nil_class.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/engines/sql/core_extensions/nil_class.rb b/lib/arel/engines/sql/core_extensions/nil_class.rb index 3f70677ba6..d4bb0e4c33 100644 --- a/lib/arel/engines/sql/core_extensions/nil_class.rb +++ b/lib/arel/engines/sql/core_extensions/nil_class.rb @@ -4,6 +4,10 @@ module Arel def equality_predicate_sql 'IS' end + + def inequality_predicate_sql + 'IS NOT' + end def not_predicate_sql 'IS NOT' |