method
connection_pools
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
connection_pools()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 527
def connection_pools
ActiveSupport::Deprecation.warn( In the next release, this will return the same as `#connection_pool_list`. (An array of pools, rather than a hash mapping specs to pools.).squish)
Hash[connection_pool_list.map { |pool| [pool.spec, pool] }]
end