instance method
teardown_shared_connection_pool
Ruby on Rails 6.0.6
Since v6.0.6 PrivateSignature
teardown_shared_connection_pool()
No documentation comment.
Source
# File activerecord/lib/active_record/test_fixtures.rb, line 212
def teardown_shared_connection_pool
@saved_pool_configs.each_pair do |handler, pools|
pools.each_pair do |name, pool|
handler.send(:owner_to_pool)[name] = pool
end
end
@saved_pool_configs.clear
end
Defined in activerecord/lib/active_record/test_fixtures.rb line 212
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::TestFixtures