Documentation for database.yml?

can anyone point me to the documentation for the database.yml file?

derek73 wrote:

can anyone point me to the documentation for the database.yml file?

I’m guessing your difficulty in finding documentation for the
database.yml file is that it’s contents depend on what database adaptor
is being used.

For example, here’s the documentation for an oracle-enhanced adaptor
from GitHub:
http://wiki.github.com/rsim/oracle-enhanced/usage

I’m not sure if there exists any generic documentation on this
configuration file. What I generally do is to just create a new Rails
project using whatever adaptor I plan to use. Then I just modify the
database.yml file that gets generated, if necessary.

But, you may still need to look for any documentation for the specific
adaptor you’re planning to use.

Note that YAML is just a collection of serialized objects. So each
adapter can use a completely different object for initialization.
Maybe this is obvious but as a new rails developer this didn’t click
in place for me until I had to bring a DB online for testing a plugin.