Skip to content

Commit 2bf0d68

Browse files
committed
Fix a typo in ConnectionPoool#connection deprecation (again)
1 parent f657842 commit 2bf0d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def lease_connection
295295

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

0 commit comments

Comments
 (0)