Class: ActiveRecord::ConnectionAdapters::PoolConfig

Inherits:
ConnectionSpecification
  • Object
show all
Defined in:
lib/active_record/connection_adapters/trilogy_adapter.rb

Instance Method Summary collapse

Constructor Details

#initialize(connection_class, db_config, *args) ⇒ PoolConfig

Returns a new instance of PoolConfig.



377
378
379
# File 'lib/active_record/connection_adapters/trilogy_adapter.rb', line 377

def initialize(connection_class, db_config, *args)
  super("primary", db_config, "#{db_config[:adapter]}_connection")
end