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

There seem to be a confusion with digests, fingerprinting and precompilation:

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.

Note. Sry for double post, reopened with proper commit messages.