[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 10:08:39 UTC 2016
It appears to add comments into each model which explain the current schema. It seems like this would make it easier to look up that information than having to `psql` in the database, e.g: to remember what the column name is. I think this could be helpful, as this information is often hidden by Rails' "magic" and making it explicit means less frustration when the "magic" doesn't match expectations.
The `rake` task presumably maintains this information so that future migrations don't mean the comments have to be updated by hand.
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