Refactoring guide - Paprikas/rails_cheat_sheet GitHub Wiki

  1. Create new functionality
  2. Test it
  3. Mark the old one as deprecated (tables, methods)
  4. Keep old methods accessible and working (usually used by background workers)
  5. ...