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(owner, spec) ⇒ Object
91 92 93 |
# File 'lib/active_record_host_pool/connection_adapter_mixin.rb', line 91 def establish_connection(spec) owner_to_pool[spec.name] = ActiveRecordHostPool::PoolProxy.new(spec) end |