aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul <22789+thoughtless@users.noreply.github.com>2018-04-17 12:29:24 -0700
committerGitHub <noreply@github.com>2018-04-17 12:29:24 -0700
commit319248c04916f3d89bcc77ffa84cf79b5fd2fee9 (patch)
tree93734f7c4a63ecd3e14289e355652a767836d05a
parent6378a386ddd1beb998ec9149a284d5fb13d491c7 (diff)
downloadrails-319248c04916f3d89bcc77ffa84cf79b5fd2fee9.tar.gz
rails-319248c04916f3d89bcc77ffa84cf79b5fd2fee9.tar.bz2
rails-319248c04916f3d89bcc77ffa84cf79b5fd2fee9.zip
Correct docs on naming of sprockets manifest file
Calling this an MD5 implies that it is generated consistently based on some input. However, this value is [completely random](https://github.com/rails/sprockets/blob/fbe6e450b6f25cf3ea494fcab0e34001d0b5a0b9/lib/sprockets/manifest_utils.rb#L11-L24).
-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: