annotate_models icon indicating copy to clipboard operation
annotate_models copied to clipboard

Active Admin not working when running migrations

Open antarr opened this issue 1 year ago • 0 comments

When running migrations in rails, I wan't my active admin files to be annotated. This is not happing

lib/task/auto_annotate_models.rake

    Annotate.set_defaults(
      'active_admin'                => 'true',
      'additional_file_patterns'    => [],
      'routes'                      => 'false',

.env

ACTIVE_ADMIN=true

Commands

$ bundle exec rake db:migrate

Version

  • annotate version(3.2.0)
  • rails version(7.0.8)
  • ruby version(3.1.4)

antarr avatar Jan 22 '24 18:01 antarr