From 0f68c734b1642c4960778f8924d2c752717e2790 Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Wed, 5 May 2010 14:05:56 -0400 Subject: noteq -> not_eq, notmatches -> not_matches, notin -> not_in --- lib/arel/algebra/attributes/attribute.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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) -- cgit v1.2.3