Custom path for database.yml?

Hello, ¿I would like to know if there is any plans in the future to allow specifying a path for the database.yml? I have several apps that share a db and i think is a little redundant to have to copy the database.yml to each, also the file is out of my repo and i dont like the idea of using a symlink. It would be better if i could just specify the path in the application.rb.

It strikes me that a symlink is the appropriate solution to this problem. You’d be doing it anyway with a standard Capistrano deployment.

Regards,
Ben Langfeld

This is what works for us:

config.database = ENV[‘DATABASE_YML’] # rails 3.0.x

config.paths[‘config/database’] = ENV[‘DATABASE_YML’] # rails 3.1