method

find_db_config

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.