Files

RConfig::Constants

Constants

CONFIG_ROOT

Sets CONFIG_ROOT to RAILS_ROOT/config unless it has already been defined (i.e. in rails env, or calling ruby app).

ENV_TIER

ENV TIER i.e. (development, integration, staging, or production) Defaults to RAILS_ENV if running in Rails, otherwise, it checks if ENV[‘TIER’] is present. If not, it assumes production.

YML_FILE_TYPES

yml, yaml => yaml files, parsable by YAML library

XML_FILE_TYPES

xml => self-explanatory

CNF_FILE_TYPES

conf, properties => based config files

CONFIG_FILE_TYPES

The type of file used for config. Valid choices include (yml, yaml, xml, conf, config, properties)

HOSTNAME

Use CONFIG_HOSTNAME environment variable to test host-based configurations.

HOSTNAME_SHORT

Short Hostname: removes all chars from HOSTNAME, after first “.” Used to specify machine-specific config files.

SUFFIXES

This is an array of filename suffixes facilitates cascading configuration overrides (i.e. ‘services_local’, ‘services_development’). These files get loaded in the order of the array. Meaning the last file loaded overrides everything before it. So config files suffixed with hostname has the highest precedence, and therefore overrides everything. Example:

         database_local.yml overrides database.yml
         database_staging.yml overrides database_local.yml
         database_appsvr01.yml overrides database_integration.yml
EMPTY_ARRAY

Used in place of undefined but expected arrays, to prevent creating a bunch of unecesary arrays in memory. See ConfigCore.fire_on_load

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.