Skip to content

Commit

Permalink
Added new asset config options to guides
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Hulse committed Aug 31, 2011
1 parent 5767c13 commit f0af563
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions railties/guides/source/configuring.textile
Expand Up @@ -134,6 +134,18 @@ Rails 3.1, by default, is set up to use the +sprockets+ gem to manage assets wit

* +config.assets.prefix+ defines the prefix where assets are served from. Defaults to +/assets+.

* +config.assets.digest+ enables the use of MD5 fingerprints in asset names. Set to +true+ by default in +production.rb+

* +config.assets.debug+ disables the concatenation and compression of assets. Set to +false+ by default in +development.rb+

* +config.assets.manifest+ defines the full path to be used for the asset precompiler's manifest file. Defaults to using +config.assets.prefix+

* +config.assets.cache_store+ defines the cache store that Sprockets will use. The default is the Rails file store.

* +config.assets.version+ is an option string that is used in MD5 hash generation. This can be changed to force all files to be recompiled.

* +config.assets.compile+ is a boolean that can be used to turn on live Sprockets compilation in production.


h4. Configuring Generators

Expand Down

0 comments on commit f0af563

Please sign in to comment.