Manage technical debt with TODO, FIXME, OPTIMIZE

class Admin < ApplicationRecord
  # TODO: Do something
  # FIXME: Do it in another way
  # OPTIMIZE: Enhance the query

Run rails notes

  * [2] [TODO] Do something
  * [3] [FIXME] Do it in another way
  * [4] [OPTIMIZE] Enhance the query

You can also list notes of each kind individually with:
rake notes:todo
rake notes:fixme
rake notes:optimize.