{"comment":{"created_at":"2011-10-12T21:25:30Z","body":"Not sure I am following your reasoning @bbenezech\r\n\r\nWouldn't your patch make it impossible to disable digests in test once you've precompiled assets at least once? Pay attention that without my patch, if you have a manifest.yml it will **ALWAYS** be read no matter what `config.assets.digest` says.\r\n\r\nFor reference, here is my pull request that explains the problem in more details:\r\n\r\nhttps://github.com/rails/rails/pull/3135","updated_at":"2011-10-12T21:25:30Z","url":"https://api.github.com/repos/rails/rails/issues/comments/2387197","id":2387197,"user":{"avatar_url":"https://secure.gravatar.com/avatar/919feaa12651b668d8ee9a41215b1976?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/christos","id":736,"login":"christos"}},"action":"created","issue":{"number":3311,"created_at":"2011-10-12T13:33:05Z","pull_request":{"diff_url":"https://github.com/rails/rails/pull/3311.diff","patch_url":"https://github.com/rails/rails/pull/3311.patch","html_url":"https://github.com/rails/rails/pull/3311"},"body":"There seem to be a confusion with digests, fingerprinting and precompilation: \r\n \r\n    config.assets.digest = false\r\n\r\nremoves fingerprinting (as it should), but then adding\r\n\r\n    config.assets.compile = false\r\n\r\n(in prod., for example) removes all possibility to access any asset.\r\nIt raises an unwanted\r\n\r\n    Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError\r\n\r\nIncoherent, since:\r\n * asset is compiled and present in public/assets/..\r\n * asset is correctly referenced in manifest\r\n\r\nDisabling digest should not disable precompilation pattern. \r\n\r\nThis patch intends to fix this.\r\n\r\nNote. Sry for double post, reopened with proper commit messages.","comments":4,"title":"Patch assets related helpers when digest is false and compile is false ","updated_at":"2011-10-12T21:25:31Z","url":"https://api.github.com/repos/rails/rails/issues/3311","id":1887308,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/c1607873b99845b2cd53f8634860d4d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bbenezech","id":26794,"login":"bbenezech"},"html_url":"https://github.com/rails/rails/issues/3311","labels":[],"state":"open"},"legacy":{"issue_id":1887308,"comment_id":2387197}}