method

merge_db_environment_variables

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: DatabaseConfigurations
merge_db_environment_variables(current_env, configs) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/database_configurations.rb, line 249
      def merge_db_environment_variables(current_env, configs)
        configs.map do |config|
          next config if config.is_a?(UrlConfig) || config.env_name != current_env

          url_config = environment_url_config(current_env, config.name, config.configuration_hash)
          url_config || config
        end
      end
Register or log in to add new notes.