method
build_db_config_from_hash
rails latest stable - Class:
ActiveRecord::DatabaseConfigurations
build_db_config_from_hash(env_name, name, config)private
No documentation available.
# File activerecord/lib/active_record/database_configurations.rb, line 273
def build_db_config_from_hash(env_name, name, config)
url = config[:url]
config_without_url = config.dup
config_without_url.delete :url
DatabaseConfigurations.db_config_handlers.reverse_each do |handler|
config = handler.call(env_name, name, url, config_without_url)
return config if config
end
nil
end