Skip to content

Commit bb380a3

Browse files
authored
Merge pull request rails#55454 from kou/fix-typo-ar-with-connection
Fix a typo in ActiveRecord::ConnectionHandling#with_connection doc [ci skip]
2 parents 936e161 + fceafc2 commit bb380a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/connection_handling.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def release_connection
301301

302302
# Checkouts a connection from the pool, yield it and then check it back in.
303303
# If a connection was already leased via #lease_connection or a parent call to
304-
# #with_connection, that same connection is yieled.
304+
# #with_connection, that same connection is yielded.
305305
# If #lease_connection is called inside the block, the connection won't be checked
306306
# back in.
307307
# If #connection is called inside the block, the connection won't be checked back in

0 commit comments

Comments
 (0)