diff --git a/activerecord/lib/active_record/connection_handling.rb b/activerecord/lib/active_record/connection_handling.rb index 022c4f5d9cca1..19c3348ce85bb 100644 --- a/activerecord/lib/active_record/connection_handling.rb +++ b/activerecord/lib/active_record/connection_handling.rb @@ -257,7 +257,7 @@ def connection # Checkouts a connection from the pool, yield it and then check it back in. # If a connection was already leased via #connection or a parent call to # #with_connection, that same connection is yieled. - def with_connection(&block) # :nodoc: + def with_connection(&block) connection_pool.with_connection(&block) end