aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/configuring.textile
diff options
context:
space:
mode:
authorRichard Hulse <richard.hulse@radionz.co.nz>2011-09-01 10:52:59 +1200
committerRichard Hulse <richard.hulse@radionz.co.nz>2011-09-01 11:06:05 +1200
commitf0af56395288d6081d5b36f599fa6bc8695463d6 (patch)
treee46b1b4332ccef4c75522fb75f18ce38ce8354bb /railties/guides/source/configuring.textile
parent5767c13c6809e0171614dd54a812fd1d6f5ae471 (diff)
downloadrails-f0af56395288d6081d5b36f599fa6bc8695463d6.tar.gz
rails-f0af56395288d6081d5b36f599fa6bc8695463d6.tar.bz2
rails-f0af56395288d6081d5b36f599fa6bc8695463d6.zip
Added new asset config options to guides
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r--railties/guides/source/configuring.textile12
1 files changed, 12 insertions, 0 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 110c04f66e..798f8e405e 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -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