masochism
masochism copied to clipboard
slave database within environment doesn't work anymore
My database.yml looks like this:
production:
adapter: mysql
host: 127.0.0.1
port: 3307
slave_database:
adapter: mysql
host: 127.0.0.1
port: 3307
this doesn't work anymore with your changes. I tried to fix it but there's too much magic in the setup for me to fully understand what's going on.
Additionally you have dependent tests. The test_slave_database_within_environment actually fails when you run it individually, but not when the whole suite is run.