diff options
Diffstat (limited to 'lib/arel/engines/sql/core_extensions/object.rb')
-rw-r--r-- | lib/arel/engines/sql/core_extensions/object.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/engines/sql/core_extensions/object.rb b/lib/arel/engines/sql/core_extensions/object.rb index 9f15dff771..b71ef29fd5 100644 --- a/lib/arel/engines/sql/core_extensions/object.rb +++ b/lib/arel/engines/sql/core_extensions/object.rb @@ -9,6 +9,10 @@ module Arel '=' end + def not_predicate_sql + '!=' + end + Object.send(:include, self) end end |