aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorErol Fornoles <erol.fornoles@gmail.com>2016-10-28 18:12:26 +0800
committerErol Fornoles <erol.fornoles@gmail.com>2016-10-28 18:13:30 +0800
commitf7d54c4247df39ee79de241b9f10f3b06ea0f565 (patch)
tree84266953e234fac884fe33de42f9b9531d7f80de /guides/source/configuring.md
parenta36ef6ee3ed44e6ce1636f12da59c473dddd94bb (diff)
downloadrails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.tar.gz
rails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.tar.bz2
rails-f7d54c4247df39ee79de241b9f10f3b06ea0f565.zip
Add documentation for `config.assets.version` [skip ci]
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 18416a60ff..c625cf67f6 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -179,6 +179,8 @@ pipeline is enabled. It is set to `true` by default.
* `config.assets.debug` disables the concatenation and compression of assets. Set to `true` by default in `development.rb`.
+* `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.
* `config.assets.logger` accepts a logger conforming to the interface of Log4r or the default Ruby `Logger` class. Defaults to the same configured at `config.logger`. Setting `config.assets.logger` to `false` will turn off served assets logging.