masochism icon indicating copy to clipboard operation
masochism copied to clipboard

slave database within environment doesn't work anymore

Open theflow opened this issue 15 years ago • 1 comments

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.

theflow avatar Jul 22 '09 10:07 theflow