Skip to content

Annotate namespaced models not working without --models #689

Open
@softwaregravy

Description

@softwaregravy

I was trying to get annotate to annotate a new model I created, which is namespaced. It wasn't working. After trying several other things, using the --models caused it to correctly annotate the new model files.

IMHO, this should annotate the models without the --models option.

Commands

$ annotate
$ annotate --models
Annotated (6): ...
$

Version

  • annotate (3.0.3)
  • rails (5.2.3)
  • ruby 2.6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions