Skip to content

Commit fceafc2

Browse files
committed
Fix a typo in ActiveRecord::ConnectionHandling#with_connection doc
1 parent 936e161 commit fceafc2

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)