Skip to content

annotate --routes changes model files #357

Closed
@aminariana

Description

@aminariana

When I do a simple:
annotate --routes

I expect only the routes.rb file to change, not the model annotations. But they do.

My usage hasn't changed from previous versions of annotate. But going from v2.6.10 to v2.7, when I run the command, it overrides my existing model annotations with fresh ones, without the desired options such as annotating indexes that I otherwise specify in annotating models. Breaking change I think?

EDIT:

Downgrading to v2.6.10 fixes the problem.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions