We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64191c2 + d0c3711 commit 67edef5Copy full SHA for 67edef5
lib/cypress-rails/manages_transactions.rb
@@ -68,6 +68,7 @@ def gather_connections
68
# need to share a connection pool so that the reading connection
69
# can see data in the open transaction on the writing connection.
70
def setup_shared_connection_pool
71
+ return unless ActiveRecord::TestFixtures.respond_to?(:setup_shared_connection_pool)
72
@legacy_saved_pool_configs ||= Hash.new { |hash, key| hash[key] = {} }
73
@saved_pool_configs ||= Hash.new { |hash, key| hash[key] = {} }
74
0 commit comments