method

pool_from_any_process_for

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

pool_from_any_process_for(spec_name)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 1159
        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