Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Admin not working when running migrations #1002

Open
antarr opened this issue Jan 22, 2024 · 0 comments
Open

Active Admin not working when running migrations #1002

antarr opened this issue Jan 22, 2024 · 0 comments

Comments

@antarr
Copy link

antarr commented Jan 22, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant