class HashConfig
Ruby on Rails 7.1.6
Since v6.0.6Active 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.
Inherits from
Attributes
Methods (defined here)
- # adapter
- # checkout_timeout
- # database
- # default_schema_cache_path
- # host
- # idle_timeout
- # lazy_schema_cache_path
- # max_queue
- # max_threads
- # migrations_paths
- # min_threads
- # pool
- # query_cache
- # reaping_frequency
- # replica?
- # schema_cache_path
- # schema_dump
- self. new