You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently not able to annotate my models (routes seem to work fine).
I've resetted the auto_annotate_models.rake, based on #663 but without any luck
Commands
$ bundle exec annotate --models
Unable to annotate app/models/post.rb: undefined method `gsub' for nil:NilClass
Unable to annotate app/models/post.rb: no implicit conversion of nil into Array
[...]
Model files unchanged.
This error is present for all models that have changed.
I was just playing around with some settings in auto_annotate_models.rb and it does work if I set show_foreign_keys to false.
However the only common thing I can find is that they all have a belongs_to and my other models don't
I'm currently not able to annotate my models (routes seem to work fine).
I've resetted the auto_annotate_models.rake, based on #663 but without any luck
Commands
This error is present for all models that have changed.
If I run with trace:
(I've shortened all references to my apps folder since its path is quite long)
Version
The text was updated successfully, but these errors were encountered: