This method is deprecated or moved on the latest stable version.
The last existing version (v5.2.3) is shown here.
resolve_all()
public
Expands each key in @configurations hash into fully resolved hash
# File activerecord/lib/active_record/connection_adapters/connection_specification.rb, line 152
def resolve_all
config = configurations.dup
if env = ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
env_config = config[env] if config[env].is_a?(Hash) && !(config[env].key?("adapter") || config[env].key?("url"))
end
config.reject! { |k, v| v.is_a?(Hash) && !(v.key?("adapter") || v.key?("url")) }
config.merge! env_config if env_config
config.each do |key, value|
config[key] = resolve(value) if value
end
config
end