Flowdock
method

merge_db_environment_variables

Importance_0
v6.0.0 - 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 178
      def merge_db_environment_variables(current_env, configs)
        configs.map do |config|
          next config if config.url_config? || config.env_name != current_env

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