[openstreetmap/openstreetmap-website] Add annotate gem and associated rake task. Annotate models. Accept new line changes in test/fixtures. (#1280)
notifications at github.com
Fri Sep 9 15:19:14 UTC 2016
Like @gravitystorm, I usually top-annotate, but as @tomhughes guessed, bottom-annotation is a strategy to keep people who are already very familiar with the data model happy.
The rake task will re-annotate when running a migration, and I believe this to be a relatively new addition to the gem. Remembering to do that manually was always a weak link. See [their repo](https://github.com/ctran/annotate_models#configuration-in-rails). It's weird, as @zerebubuth points out, that the additional tasks, two of which I used in testing, don't appear when running `bundle exec rake -T`... oh, they've got [an open issue for that](https://github.com/ctran/annotate_models/issues/346).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev