method
find_db_config
v7.0.0 -
Show 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.