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:
<% #TODO ... %>
rake notes
only detects Ruby comments, so just stick a Ruby comment into your Erb views and you're good to go.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With