aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-04-17 15:47:27 -0400
committerGitHub <noreply@github.com>2018-04-17 15:47:27 -0400
commit74525b26d2e2eee897707546b7d63e4fa6bdc0f1 (patch)
tree93734f7c4a63ecd3e14289e355652a767836d05a
parent6378a386ddd1beb998ec9149a284d5fb13d491c7 (diff)
parent319248c04916f3d89bcc77ffa84cf79b5fd2fee9 (diff)
downloadrails-74525b26d2e2eee897707546b7d63e4fa6bdc0f1.tar.gz
rails-74525b26d2e2eee897707546b7d63e4fa6bdc0f1.tar.bz2
rails-74525b26d2e2eee897707546b7d63e4fa6bdc0f1.zip
Merge pull request #32611 from thoughtless/patch-1
Correct docs on naming of sprockets manifest file
-rw-r--r--guides/source/asset_pipeline.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index 2f5854fed0..88b87b78d2 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -728,8 +728,8 @@ Rails.application.config.assets.precompile += %w( admin.js admin.css )
NOTE. Always specify an expected compiled filename that ends with `.js` or `.css`,
even if you want to add Sass or CoffeeScript files to the precompile array.
-The task also generates a `.sprockets-manifest-md5hash.json` (where `md5hash` is
-an MD5 hash) that contains a list with all your assets and their respective
+The task also generates a `.sprockets-manifest-randomhex.json` (where `randomhex` is
+a 16-byte random hex string) that contains a list with all your assets and their respective
fingerprints. This is used by the Rails helper methods to avoid handing the
mapping requests back to Sprockets. A typical manifest file looks like: