method
find_db_config
rails latest stable - Class:
ActiveRecord::DatabaseConfigurations
find_db_config(env)public
Returns a single DatabaseConfig object based on the requested environment.
If the application has multiple databases find_db_config will return the first DatabaseConfig for the environment.