cache_digests icon indicating copy to clipboard operation
cache_digests copied to clipboard

Word 'rendered' in comment detected as dependency

Open gmcnaughton opened this issue 13 years ago • 1 comments

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

gmcnaughton avatar Nov 27 '12 19:11 gmcnaughton

This bug is still present with cache_digests 0.3.1.

Couldn't find template for digesting: eds/ed.html

michal-samluk avatar Feb 25 '14 13:02 michal-samluk