Forum: Ruby on Rails Engine: Where there should be a database.yml ?

Posted by Sergey Ezhov (sergeyezhov)
on 2012-05-06 10:19
For developing an Engine.
Where there should be a database.yml file for a configuration of
connection with database? In <engine_dir>/config/database.yml it doesn't
work, also doesn't use a configuration of the main application.

I place into <engine_dir>/test/dummy/config/database.yml
It works.
But why there? It not an obvious place for configuration placement, it
only test-directory.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.