method

env_with_configs

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: DatabaseConfigurations
env_with_configs(env = nil) 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 192
      def env_with_configs(env = nil)
        if env
          configurations.select { |db_config| db_config.env_name == env }
        else
          configurations
        end
      end
Register or log in to add new notes.