Flowdock
class
Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Superclass: DatabaseConfig

Active Record Database Hash Config

A HashConfig object is created for each database configuration entry that is created from a hash.

A hash config:

{ "development" => { "database" => "db_name" } }

Becomes:

#<ActiveRecord::DatabaseConfigurations::HashConfig:0x00007fd1acbded10
  @env_name="development", @name="primary", @config={database: "db_name"}>

See ActiveRecord::DatabaseConfigurations for more info.

Show files where this class is defined (1 file)
Register or log in to add new notes.