Skip to content

Commit f657842

Browse files
committed
Fix a typo in ConnectionPoool#connection deprecation
1 parent e27a0df commit f657842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ def lease_connection
295295

296296
def connection
297297
ActiveRecord.deprecator.warn(<<~MSG)
298-
ConnectionPoool#connection is deprecated and will be removed
299-
in Rails 7.3. Use #lease_connection instead
298+
ActiveRecord::ConnectionAdapters::ConnectionPoool#connection is deprecated
299+
and will be removed in Rails 7.3. Use #lease_connection instead.
300300
MSG
301301
lease_connection
302302
end

0 commit comments

Comments
 (0)