DEV Community

Shilpi Agrawal
Shilpi Agrawal

Posted on • Updated on

Rails notes 😱

When I started with Rails, I came across with something called Rails notes. It amazed me how much rails work for developers.

You just add these tags #TODO, #FIXME, #OPTIMIZE as comments in your files.

Alt Text

And when you run rails notes you will get something like this.

Alt Text

The default tags it searches for are ["OPTIMIZE", "FIXME", "TODO"]
If you want to add your custom tags, you can add them.

Alt Text

And while searching you have to use those tags.

Alt Text

Thank you for reading it out ❀️. If you find it helpful, don't forget to drop in your likes and comments.

Top comments (2)

Collapse
 
johnsalzarulo profile image
John Jacob

How did I not know this one? What a great tip, thanks for sharing!

Collapse
 
shilpi230 profile image
Shilpi Agrawal

πŸ˜… πŸ’―