method

pool_from_any_process_for

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::ConnectionHandler
pool_from_any_process_for(spec_name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 983
        def pool_from_any_process_for(spec_name)
          owner_to_pool = @owner_to_pool.values.reverse.find { |v| v[spec_name] }
          owner_to_pool && owner_to_pool[spec_name]
        end
Register or log in to add new notes.