We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4f6d0 commit e7217c0Copy full SHA for e7217c0
activerecord/lib/active_record/connection_handling.rb
@@ -257,7 +257,7 @@ def connection
257
# Checkouts a connection from the pool, yield it and then check it back in.
258
# If a connection was already leased via #connection or a parent call to
259
# #with_connection, that same connection is yieled.
260
- def with_connection(&block) # :nodoc:
+ def with_connection(&block)
261
connection_pool.with_connection(&block)
262
end
263
0 commit comments