Annotate models: nothing is annotated!

My situation:

  • I added got annotate-models (1.0.4) to my rails project.
  • Ran "bundle install". The pearls are indicated when I make the "package list".
  • I created a simple model using "rails generate model ..."
  • I did: "rake db: migrate"
  • I did: "annotate"

Result: 6. “annotate” returns “Nothing annotated!”. 7. My model class remains without annotations.

Any idea on what might be wrong?

Thank!

+3
source share
2 answers

. , , rails db. "", .

0

. exec

bundle exec annotate

0

Source: https://habr.com/ru/post/1779501/


All Articles