class Arel::Visitors::Visitor
def self.dispatch_cache
def self.dispatch_cache @dispatch_cache ||= Hash.new do |hash, klass| hash[klass] = :"visit_#{(klass.name || "").gsub("::", "_")}" end.compare_by_identity end
def self.dispatch_cache @dispatch_cache ||= Hash.new do |hash, klass| hash[klass] = :"visit_#{(klass.name || "").gsub("::", "_")}" end.compare_by_identity end