Skip to content

Commit 5c96860

Browse files
authored
Merge pull request rails#51947 from zzak/rdoc-lease_connection-link
2 parents 23df2aa + 029d7a2 commit 5c96860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def dirties_query_cache
7474
# Connections can be obtained and used from a connection pool in several
7575
# ways:
7676
#
77-
# 1. Simply use {ActiveRecord::Base.lease_connection}[rdoc-ref:ConnectionHandling.connection].
77+
# 1. Simply use {ActiveRecord::Base.lease_connection}[rdoc-ref:ConnectionHandling#lease_connection].
7878
# When you're done with the connection(s) and wish it to be returned to the pool, you call
7979
# {ActiveRecord::Base.connection_handler.clear_active_connections!}[rdoc-ref:ConnectionAdapters::ConnectionHandler#clear_active_connections!].
8080
# This is the default behavior for Active Record when used in conjunction with

0 commit comments

Comments
 (0)