Skip to content

Commit 27df190

Browse files
Merge pull request rails#46426 from cpb/cpb-connection-hander-clear-all-connections
Fix clear_all_connections! NoMethodError
2 parents de30481 + 6e9675c commit 27df190

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
@@ -35,7 +35,7 @@ def setup
3535
def teardown
3636
super
3737

38-
ActiveRecord::Base.connection.clear_all_connections!
38+
ActiveRecord::Base.connection_handler.clear_all_connections!
3939
end
4040

4141
def cable_config

0 commit comments

Comments
 (0)