method
new
new(connection, logger = nil)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 44 def initialize(connection, logger = nil) #:nodoc: @active = nil @connection, @logger = connection, logger @query_cache_enabled = false @query_cache = Hash.new { |h,sql| h[sql] = {} } @instrumenter = ActiveSupport::Notifications.instrumenter @visitor = nil end