class ActiveRecord::DatabaseConfigurations::HashConfig
def initialize(env_name, name, configuration_hash)
connections.
database adapter, name, and other important information for database
* `configuration_hash` - The config hash. This is the hash that contains the
example "primary_readonly".
configuration this corresponds to the name used in the second tier, for
this will default to "primary". In a multiple database three-tier database
* `name` - The db config name. In a standard two-tier database configuration
* `env_name` - The Rails environment, i.e. "development".
#### Parameters
Initialize a new `HashConfig` object
def initialize(env_name, name, configuration_hash) super(env_name, name) @configuration_hash = configuration_hash.symbolize_keys.freeze end