I just found a really cool feature in Rails, can’t believe I didn’t know about it before.
Apparently you can add comments like this in your Rails app
def uncompleted_method # TODO complete this method end
And if you run `rake:notes` in your terminal, it will list down all the TODO comments like so
You can also use `optimize` and `fixme` with rake:notes.
def need_to_fix # FIXME fix this quickly end def optimize_this # OPTIMIZE this is way too slow end
Running rake:notes will give you:
This is a really useful technique to maintain a running todo list/ reminder system in your Rails app