Class: ActiveRecord::ConnectionAdapters::PoolConfig
- Inherits:
-
ConnectionSpecification
- Object
- ConnectionSpecification
- ActiveRecord::ConnectionAdapters::PoolConfig
- Defined in:
- lib/active_record/connection_adapters/trilogy_adapter.rb
Instance Method Summary collapse
-
#initialize(connection_class, db_config, *args) ⇒ PoolConfig
constructor
A new instance of PoolConfig.
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 |