Source: show | on GitHub
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 111 def initialize(conn) @conn = conn @cache = {} end
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 116 def accept(o) m = @cache[o.class] ||= "visit_#{o.class.name.split('::').last}" send m, o end