diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-04 19:53:37 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-04 19:53:37 -0800 |
commit | f64d067ee40f387f80ef25aa56a002c018b4be4e (patch) | |
tree | 8f8bb7d3e44821e6876bf33e17a36b5e381aaae1 /lib | |
parent | f5e09790550fcb7d413d495be25f8fe74a571850 (diff) | |
download | rails-f64d067ee40f387f80ef25aa56a002c018b4be4e.tar.gz rails-f64d067ee40f387f80ef25aa56a002c018b4be4e.tar.bz2 rails-f64d067ee40f387f80ef25aa56a002c018b4be4e.zip |
visiting via superclass is OK, since module definitions help delegate
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/visitor.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/arel/visitors/visitor.rb b/lib/arel/visitors/visitor.rb index 85359f3e67..c9cdf34adb 100644 --- a/lib/arel/visitors/visitor.rb +++ b/lib/arel/visitors/visitor.rb @@ -15,7 +15,6 @@ module Arel send DISPATCH[object.class], object rescue NoMethodError => e raise e if respond_to?(DISPATCH[object.class], true) - warn "visiting #{object.class} via superclass, this will be removed in arel 2.2.0" if $VERBOSE superklass = object.class.ancestors.find { |klass| respond_to?(DISPATCH[klass], true) } |