Sha256: b8fcd08e59a0861ede6980a49589c0c41cbd088c83dc4d9cf1911ad05a0d9c36

Contents?: true

Size: 818 Bytes

Versions: 18

Compression:

Stored size: 818 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

18 entries across 18 versions & 4 rubygems

Version Path
nifty-generators-improved-0.5 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.12 lib/generators/nifty/config/USAGE
nifty-generators-0.4.6 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.11 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.10 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.9 lib/generators/nifty/config/USAGE
nifty-generators-0.4.5 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.8 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.7 lib/generators/nifty/config/USAGE
flockonus-nifty-generators-0.0.6 lib/generators/nifty/config/USAGE
nifty-generators-0.4.4 lib/generators/nifty/config/USAGE
nifty-generators-0.4.3 lib/generators/nifty/config/USAGE
seivan-generators-0.5 lib/generators/seivan/config/USAGE
seivan-generators-0.4 lib/generators/seivan/config/USAGE
seivan-generators-0.3 lib/generators/seivan/config/USAGE
seivan-generators-0.2 lib/generators/seivan/config/USAGE
nifty-generators-0.4.2 lib/generators/nifty/config/USAGE
nifty-generators-0.4.1 lib/generators/nifty/config/USAGE