creating new directory for database.yml

Hello RoR Developers,

do you know how can I change the directory of database.yml. I want to
call it from another directory, and also want to reach the directory
name like #{RAILS_ROOT}

thanks for any commend and help..

Try: do |config|
config.database_configuration_file = File.join(RAILS_ROOT, “anotherdir”, “database.yml”)

sishen wrote:

Try: do |config|
     config.database_configuration_file = File.join(RAILS_ROOT,
"anotherdir", "database.yml")

On Wed, Feb 27, 2008 at 4:11 PM, Ibrahim Dogru <

thank you very much...