instance method
connection_pool
Ruby on Rails 6.1.7.10
Since v4.0.13Signature
connection_pool()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_handling.rb, line 322
def connection_pool
connection_handler.retrieve_connection_pool(connection_specification_name, role: current_role, shard: current_shard) || raise(ConnectionNotEstablished)
end
Defined in activerecord/lib/active_record/connection_handling.rb line 322
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionHandling