method
pool_from_any_process_for
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
pool_from_any_process_for(owner)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 639
def pool_from_any_process_for(owner)
owner_to_pool = @owner_to_pool.values.find { |v| v[owner.name] }
owner_to_pool && owner_to_pool[owner.name]
end