* Updates to make annotate smarter about when to touch a model
* Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes)
* Grab old specification even if it has \r\n as line endings rather than pure \ns
...
...
@@ -11,8 +12,7 @@
* If the schema is already in the model file, it will be replaced into the same location. If it didn't previously exist, it'll be placed according to the "position", as before.
* Allow task loading from Rakefile for gems (plugin installation already auto-detects).
* Add skip_on_db_migrate option as well for people that don't want it
* Fix options parsing to convert strings to proper booleans. Change annotate to use opt
ions hash instead of ENV.
* Fix options parsing to convert strings to proper booleans
* Add support for Fabrication fabricators
* Leave magic encoding comment intact
* Fix issue #14 - RuntimeError: Already memoized
...
...
@@ -57,6 +57,10 @@
no replacement. It will be removed on or after 2011-10-01.`
* Fix handling of files with no trailing newline when putting annotations at
the end of the file.
* Now works on tables with no primary key.
* Add --format=markdown option
* "Table name" annotation (if table name is different from model name)
* "Human name" annotation (enabling translation to non-English locales)