method
get_pool_manager
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
get_pool_manager(owner)private
Returns the pool manager for an owner.
Using `“primary”` to look up the pool manager for `ActiveRecord::Base` is deprecated in favor of looking it up by `“ActiveRecord::Base”`.
During the deprecation period, if `“primary”` is passed, the pool manager for `ActiveRecord::Base` will still be returned.