annotate_models
annotate_models copied to clipboard
problem annotation exclude controllers
when I run the command, regardless of whether I configure and have the controller ignored, the command keeps generating annotations for the controllers
Commands

$ annotate --exclude controllers
Version
- annotate version 2.7.5
- rails version Rails 6.0.0.rc1
- ruby version 2.6.3
Same problem here,
-
'exclude_controllers' => 'true'is not being respeted atauto_annotate_models.rake -
There is no
annotate --exclude controllersoption parameter. -
'exclude_helpers' => 'true'and *'exclude_factories' => 'true'are also being ignored!
Running v2.7.5.
Still happening with v3.0.3 and Rails v6.0.0:
- Created new Rails project with postgres.
- Generated a simple model with
rails g model. - Executed
rails g annotate:installand editedauto_annotate_models.rake. - Changed
exclude_controllerstotrue. - Executed
bundle exec rake annotate_models. - The gem still annotated controllers.
@ctran are you willing to review a PR for this bugfix?