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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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.
This topic is locked and can not be replied to.