- Notifications
You must be signed in to change notification settings - Fork 510
Michael Grosser edited this page Dec 7, 2019
·
3 revisions
try https://github.com/DocSpring/spring-commands-parallel-tests
DEPRECATED BELOW
Patch spring to reconnect the database and then force-enabled it by running with DISABLE_SPRING=0
# config/spring.rbrequire'spring/application'classSpring::Applicationaliasconnect_database_origconnect_databasedefconnect_databasedisconnect_databasereconfigure_databaseconnect_database_origenddefreconfigure_databaseifactive_record_configured?ActiveRecord::Base.configurations=Rails.application.config.database_configurationendendend