Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::ConnectionHandler
- Defined in:
- lib/active_record_host_pool/connection_adapter_mixin.rb
Instance Method Summary collapse
Instance Method Details
#establish_connection(name, spec) ⇒ Object
68 69 70 |
# File 'lib/active_record_host_pool/connection_adapter_mixin.rb', line 68 def establish_connection(name, spec) @connection_pools[name] = ActiveRecordHostPool::PoolProxy.new(spec) end |