Closed christoffer closed 13 years ago
Adds the ability to opt-in environment specific configuration.
Configuration sections that share the same name as the environment are merged with the configuration at the root level.
For example:
package_assets: always compress_assets: on development: compress_assets: off
Would turn result in this configuration in production:
package_assets: always compress_assets: on
and this configuration in development:
package_assets: always compress_assets: off
This can already be achieved using ERB, but we found it nicer to do it this way so I'd share the changes if anyone else is interested.
Adds the ability to opt-in environment specific configuration.
Configuration sections that share the same name as the environment are merged with the configuration at the root level.
For example:
Would turn result in this configuration in production:
and this configuration in development:
This can already be achieved using ERB, but we found it nicer to do it this way so I'd share the changes if anyone else is interested.