Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

visiting via superclass is OK, since module definitions help delegate

  • Loading branch information...
commit f64d067ee40f387f80ef25aa56a002c018b4be4e 1 parent f5e0979
@tenderlove tenderlove authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/arel/visitors/visitor.rb
View
1  lib/arel/visitors/visitor.rb
@@ -15,7 +15,6 @@ def visit object
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)
}
Please sign in to comment.
Something went wrong with that request. Please try again.