diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-04 19:53:42 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-04 19:53:42 -0800 |
commit | dd1a65456fbfdc1f2a337aca535576d84145dcb6 (patch) | |
tree | cf95f7907d4420fb45e33167a56c9eaf962f6664 | |
parent | 3a2133d54f903d997b68930c0c6adc58716a253c (diff) | |
parent | f64d067ee40f387f80ef25aa56a002c018b4be4e (diff) | |
download | rails-dd1a65456fbfdc1f2a337aca535576d84145dcb6.tar.gz rails-dd1a65456fbfdc1f2a337aca535576d84145dcb6.tar.bz2 rails-dd1a65456fbfdc1f2a337aca535576d84145dcb6.zip |
Merge branch '2-0-stable'
* 2-0-stable:
visiting via superclass is OK, since module definitions help delegate
-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) } |