Skip to content

Commit 56217ee

Browse files
authored
Merge pull request #157 from mhoofman/fix-clear-active-connections-deprecation
Fix deprecation warning for clear_active_connections! call
2 parents ad8f862 + 8ea684d commit 56217ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cypress-rails/manages_transactions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def rollback_transaction
4646
end
4747
@connections.clear
4848

49-
ActiveRecord::Base.clear_active_connections!
49+
ActiveRecord::Base.connection_handler.clear_active_connections!
5050
end
5151

5252
private

0 commit comments

Comments
 (0)