Sha256: f9f640b25225e7d443ee9c0426252f3f2ebcb67da95d67eb196e7ad094c71c6f
Contents?: true
Size: 815 Bytes
Versions: 25
Compression:
Stored size: 815 Bytes
Contents
Description: The dust_config generator creates YAML file in your config directory and an initializer to load this config. The config has a separate section for each environment. This is a great place to put any config settings you don't want in your app. The config is loaded into a constant called APP_CONFIG by default, this changes depending on the name you choose to pass the generator. Use this constant to access the config settings like this. APP_CONFIG[:some_setting] Examples: rails generate dust:config Config: config/app_config.yml Initializer: config/initializers/load_app_config.rb rails generate dust:config passwords Config: config/passwords_config.yml Initializer: config/initializers/load_passwords_config.rb
Version data entries
25 entries across 25 versions & 1 rubygems