configurations=(config)
Class Public methods
:singleton-method: Contains the database configuration - as is typically stored in config/database.yml - as a Hash.
For example, the following database.ymlâ¦
development: adapter: sqlite3 database: db/development.sqlite3 production: adapter: sqlite3 database: db/production.sqlite3
â¦would result in ::configurations to look like this:
{ 'development' => { 'adapter' => 'sqlite3', 'database' => 'db/development.sqlite3' }, 'production' => { 'adapter' => 'sqlite3', 'database' => 'db/production.sqlite3' } }
Please login to continue.