Sha256: 9f5b95dbc1f5e443eaaab52cee7d9c959442a66c97ed79fac27a356ab0258017

Contents?: true

Size: 822 Bytes

Versions: 3

Compression:

Stored size: 822 Bytes

Contents

Description:
    The nifty_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 nifty:config

        Config:      config/app_config.yml
        Initializer: config/initializers/load_app_config.rb

    rails generate nifty:config passwords

        Config:      config/passwords_config.yml
        Initializer: config/initializers/load_passwords_config.rb

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
corntrace-nifty-generators-0.4.1 lib/generators/nifty/config/USAGE
corntrace-nifty-generators-0.4.0 lib/generators/nifty/config/USAGE
nifty-generators-0.4.0 lib/generators/nifty/config/USAGE