aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra/attributes/attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/algebra/attributes/attribute.rb')
-rw-r--r--lib/arel/algebra/attributes/attribute.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb
index 03cf44a552..b372be5e1d 100644
--- a/lib/arel/algebra/attributes/attribute.rb
+++ b/lib/arel/algebra/attributes/attribute.rb
@@ -86,6 +86,10 @@ module Arel
Predicates::Equality.new(self, other)
end
+ def not(other)
+ Predicates::Not.new(self, other)
+ end
+
def lt(other)
Predicates::LessThan.new(self, other)
end