rails/rails — pull request #3310 by bbenezech (2011-10-12 13:24:26+00:00)
Title: Patch assets related helpers when digest is false and compile is false

There seem to be a confusion between digests and fingerprinting:

config.assets.digest = false

removes fingerprinting (as it should), but then adding

config.assets.compile = false

(in prod., for example) removes all possibility to access any asset.
It raises an unwanted

Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError

Incoherent, since:
* asset is compiled and present in public/assets/..
* asset is correctly referenced in manifest

Disabling digest should not disable precompilation pattern.

This patch intends to fix this.