We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe your problem here.
Unable to annotate a single model. Tried with the following commands and nothing happens.
$ show your commands here. `annotate --exclude tests,fixtures,factories -i app/models/my_model.rb` `annotate --exclude tests,fixtures,factories -i MyModel`
The text was updated successfully, but these errors were encountered:
Hello! I had a similar problem back then and figured that I can get a specific model annotated by doing this: annotate --models app/models/my_model.rb
annotate --models app/models/my_model.rb
This command annotated the model, factory, and spec files in my case.
# annotate --models app/models/my_model.rb
Output:
Annotated (3): app/models/my_model.rb, spec/models/my_model_spec.rb, spec/factories/my_model.rb
You should be able to adjust it as you need if you want to exclude other files.
I think the readme should have mentioned this single model use case to make it more beginner friendly.
Sorry, something went wrong.
No branches or pull requests
Describe your problem here.
Unable to annotate a single model. Tried with the following commands and nothing happens.
Commands
Version
The text was updated successfully, but these errors were encountered: