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

C224ec2aa9c0d838fb81255dc089c434?d=identicon&s=25 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

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.