From f64d067ee40f387f80ef25aa56a002c018b4be4e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 4 Jan 2011 19:53:37 -0800 Subject: visiting via superclass is OK, since module definitions help delegate --- lib/arel/visitors/visitor.rb | 1 - 1 file changed, 1 deletion(-) 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) } -- cgit v1.2.3