diff options
author | Ernie Miller <ernie@metautonomo.us> | 2010-05-05 14:05:56 -0400 |
---|---|---|
committer | Ernie Miller <ernie@metautonomo.us> | 2010-05-07 13:08:59 -0400 |
commit | 0f68c734b1642c4960778f8924d2c752717e2790 (patch) | |
tree | e9c74c639180c148f9b96fa4076a55b228ec148c /lib/arel/algebra | |
parent | 5afed6d45def1e72df24679a746cbe96b52c1709 (diff) | |
download | rails-0f68c734b1642c4960778f8924d2c752717e2790.tar.gz rails-0f68c734b1642c4960778f8924d2c752717e2790.tar.bz2 rails-0f68c734b1642c4960778f8924d2c752717e2790.zip |
noteq -> not_eq, notmatches -> not_matches, notin -> not_in
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/attributes/attribute.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb index 640d6facde..64ea93d227 100644 --- a/lib/arel/algebra/attributes/attribute.rb +++ b/lib/arel/algebra/attributes/attribute.rb @@ -84,15 +84,15 @@ module Arel module Predications methods = { :eq => "Equality", - :noteq => "Inequality", + :not_eq => "Inequality", :lt => "LessThan", :lteq => "LessThanOrEqualTo", :gt => "GreaterThan", :gteq => "GreaterThanOrEqualTo", :matches => "Match", - :notmatches => "NotMatch", + :not_matches => "NotMatch", :in => "In", - :notin => "NotIn" + :not_in => "NotIn" } def self.predication(name, klass) |