Flowdock
method

load_database_yaml

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: Rails::Application::Configuration
load_database_yaml() public

Load the database YAML without evaluating ERB. This allows us to create the rake tasks for multiple databases without filling in the configuration values or loading the environment. Do not use this method.

This uses a DummyERB custom compiler so YAML can ignore the ERB tags and load the database.yml for the rake tasks.

Show source
Register or log in to add new notes.