I’m getting started with Rails (3.2.3), and have recently discovered the rake notes feature.
This is working fine for .rb files, with comments like this:
# TODO ...
According to the documentation it also works for .erb files. I have tried using it in the .html.erb view files like this:
<!-- TODO ... -->
But this doesn’t work. Should it? Any ideas on what might be going wrong?
Appreciate your help!
You do it like this:
rake notesonly detects Ruby comments, so just stick a Ruby comment into your Erb views and you’re good to go.