Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#initialize

Defined in:
lib/active_record/connection_adapters/abstract_adapter.rb

#initialize(connection, logger = nil) ⇒ AbstractAdapter

:nodoc:



39
40
41
42
43
44
45
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 39

def initialize(connection, logger = nil) #:nodoc:
  @active = nil
  @connection, @logger = connection, logger
  @query_cache_enabled = false
  @query_cache = {}
  @instrumenter = ActiveSupport::Notifications.instrumenter
end