instance method all_connection_pools

Ruby on Rails 7.1.6

Since v6.1.7.10 Last seen in v7.1.6

Available in: v6.1.7.10 v7.0.10 v7.1.6

Signature

all_connection_pools()

No documentation comment.

Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb, line 97
      def all_connection_pools
        ActiveRecord.deprecator.warn(<<-MSG.squish)
          The `all_connection_pools` method is deprecated in favor of `connection_pool_list`.
          Call `connection_pool_list(:all)` to get the same behavior as `all_connection_pools`.
        MSG
        connection_name_to_pool_manager.values.flat_map { |m| m.pool_configs.map(&:pool) }
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb line 97 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::ConnectionHandler

Type at least 2 characters to search.

↑↓ navigate · open · esc close