cache_digests
cache_digests copied to clipboard
Word 'rendered' in comment detected as dependency
Comments containing the word 'rendered' mistakenly get interpreted as a dependency on a template called 'eds/ed'.
# app/views/sample/sample.html.erb
<%# I get rendered in a cool way. %>
$ rake cache_digests:nested_dependencies TEMPLATE=sample/sample
[
"eds/ed"
]
This is under Rails 3.2.9, ruby-1.9.3-p194, cache_digests 0.2.0
This bug is still present with cache_digests 0.3.1.
Couldn't find template for digesting: eds/ed.html