Sha256: 6b8ed619fbcd9892e395b50f51606d40f04e9ca63e5d215fcfd836095b67806d
Contents?: true
Size: 824 Bytes
Versions: 4
Compression:
Stored size: 824 Bytes
Contents
Description: The pizza_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: script/generate pizza_config Config: config/app_config.yml Initializer: config/initializers/load_app_config.rb script/generate pizza_config passwords Config: config/passwords_config.yml Initializer: config/initializers/load_passwords_config.rb
Version data entries
4 entries across 4 versions & 1 rubygems