method

build_config

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::UrlConfig

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

build_config(original_config, url)
private

No documentation available.

# File activerecord/lib/active_record/database_configurations/url_config.rb, line 68
        def build_config(original_config, url)
          hash = build_url_hash(url)

          if original_config[env_name]
            original_config[env_name].merge(hash)
          else
            original_config.merge(hash)
          end
        end