diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-28 09:48:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-28 09:48:31 -0700 |
commit | 6761d07f41573e9c8559cc2e77030d29e38320ae (patch) | |
tree | f004b4f701c49ca8bd2b3456d60e5b3757abdc9e /lib/arel | |
parent | 03a0002d9f8fde60bd4ce87e7f5979eddc0ad3a4 (diff) | |
download | rails-6761d07f41573e9c8559cc2e77030d29e38320ae.tar.gz rails-6761d07f41573e9c8559cc2e77030d29e38320ae.tar.bz2 rails-6761d07f41573e9c8559cc2e77030d29e38320ae.zip |
fixing a typo!
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 |