Skip to content

Commit 1edc5ea

Browse files
Merge pull request rails#46427 from cpb/cpb-fix-clear-reloadable-connections-deprecation-warning
Fix clear_reloadable_connections! deprecation warning
2 parents 27df190 + 598e9f3 commit 1edc5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actioncable/test/subscription_adapter/postgresql_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def active?
6060
assert_equal "hello world", queue.pop
6161
end
6262

63-
ActiveRecord::Base.clear_reloadable_connections!
63+
ActiveRecord::Base.connection_handler.clear_reloadable_connections!
6464

6565
assert adapter.active?
6666
end

0 commit comments

Comments
 (0)