method
original_new_controller_thread
rails latest stable - Class:
ActionController::Live
original_new_controller_thread()public
Disable controller / rendering threads in tests. User tests can access the database on the main thread, so they could open a txn, then the controller thread will open a new connection and try to access data that’s only visible to the main thread’s txn. This is the problem in #23483.