Merge pull request #46427 from cpb/cpb-fix-clear-reloadable-connections-deprecation-warning

Fix clear_reloadable_connections! deprecation warning
This commit is contained in:
Jonathan Hefner 2022-11-04 18:31:59 -05:00 committed by GitHub
commit 1edc5ea918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class PostgresqlAdapterTest < ActionCable::TestCase
assert_equal "hello world", queue.pop
end
ActiveRecord::Base.clear_reloadable_connections!
ActiveRecord::Base.connection_handler.clear_reloadable_connections!
assert adapter.active?
end