aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-05 12:14:48 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-03-05 12:14:48 +0900
commit722227a6f63b0a2fc45bd150a0dd6de3b7878c46 (patch)
tree31ec2d29f458c4ca30d7e225e8c337b8b87fafc5 /guides
parent225bd148232a970174736ab5448eca42a696670f (diff)
downloadrails-722227a6f63b0a2fc45bd150a0dd6de3b7878c46.tar.gz
rails-722227a6f63b0a2fc45bd150a0dd6de3b7878c46.tar.bz2
rails-722227a6f63b0a2fc45bd150a0dd6de3b7878c46.zip
remove config that are no longer needed in sprockets-rails 3
`config.assets.raise_runtime_errors` and `config.assets.digest` are enabled by default in sprockets-rails 3.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/asset_pipeline.md2
-rw-r--r--guides/source/configuring.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index b6c612794c..17e21b1bc6 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -670,7 +670,7 @@ anymore, delete these options from the `javascript_include_tag` and
`stylesheet_link_tag`.
The fingerprinting behavior is controlled by the `config.assets.digest`
-initialization option (which defaults to `true` for production and development).
+initialization option (which defaults to `true`).
NOTE: Under normal circumstances the default `config.assets.digest` option
should not be changed. If there are no digests in the filenames, and far-future
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 82e9a13aaa..d3a87c3820 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -157,7 +157,7 @@ pipeline is enabled. It is set to true by default.
* `config.assets.manifest` defines the full path to be used for the asset precompiler's manifest file. Defaults to a file named `manifest-<random>.json` in the `config.assets.prefix` directory within the public folder.
-* `config.assets.digest` enables the use of MD5 fingerprints in asset names. Set to `true` by default in `production.rb` and `development.rb`.
+* `config.assets.digest` enables the use of MD5 fingerprints in asset names. Set to `true` by default.
* `config.assets.debug` disables the concatenation and compression of assets. Set to `true` by default in `development.rb`.