Skip to content

Active Admin not working when running migrations #1002

@antarr

Description

@antarr

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions