instance method
connection_pool
Ruby on Rails 8.1.2
Since v4.0.13Signature
connection_pool()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_handling.rb, line 345
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 345
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionHandling