class Rails::Application::Configuration
def database_configuration
contents of the file are processed via ERB before being sent through
Loads and returns the contents of the #database_configuration_file. The
def database_configuration require 'erb' YAML::load(ERB.new(IO.read(paths.config.database.to_a.first)).result) end