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