method

connection_allow_concurrency_teardown

rails latest stable - Class: ActiveRecord::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

connection_allow_concurrency_teardown()
public

No documentation available.

# File activerecord/lib/active_record/test_case.rb, line 56
    def connection_allow_concurrency_teardown
      ActiveRecord::Base.clear_all_connections!
      ActiveRecord::Base.establish_connection(@connection)
    end