ctran/annotate_models

Running annotate after changing sorting doesn't reorder the columns in the new comment

Opened this issue · 0 comments

  1. set classified_sort to true in Annotate.set_defaults
  2. run bin/annotate
  3. set classified_sort to false
  4. run bin/annotate

The annotations remain the same as after step 2. If I run bin/annotate --force, I get the expected result.

Version

  • annotate version: 3.2.0
  • rails version: 6.1.5.1
  • ruby version: 2.7.2