diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/algebra/attributes/attribute.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb index a59c7c3308..62c1a64324 100644 --- a/lib/arel/algebra/attributes/attribute.rb +++ b/lib/arel/algebra/attributes/attribute.rb @@ -107,8 +107,8 @@ module Arel :not_in_any, :not_in_all ] - Predicate = Class.new do - def instance_methods *args + Predications = Class.new do + def self.instance_methods *args warn "this module is deprecated, please use the PREDICATES constant" PREDICATES end |