@@ -77,6 +78,9 @@ adjust your <tt>rake db:migrate</tt> tasks so that they update the
...
@@ -77,6 +78,9 @@ adjust your <tt>rake db:migrate</tt> tasks so that they update the
annotations in your model files for you once the migration is
annotations in your model files for you once the migration is
completed.
completed.
Warning: ImageMagick installs a tool called `annotate` too (if you're using MacPorts it's in `/opt/local/bin/annotate`. So if you see Usage: annotate imagein.jpg imageout.jpg then put `/usr/bin` ahead on the path and you'll get ours instead.
== OPTIONS
== OPTIONS
Usage: annotate [options] [model_file]*
Usage: annotate [options] [model_file]*
...
@@ -89,7 +93,8 @@ completed.
...
@@ -89,7 +93,8 @@ completed.
-s, --simple-indexes Concat the column's related indexes in the annotation
-s, --simple-indexes Concat the column's related indexes in the annotation
--model-dir dir Annotate model files stored in dir rather than app/models
--model-dir dir Annotate model files stored in dir rather than app/models
-R, --require path Additional files to require before loading models
-R, --require path Additional files to require before loading models
-e, --exclude [tests,fixtures] Do not annotate fixtures, test files, or both
-e [tests,fixtures,factories] Do not annotate fixtures, test files, and/or factories
--exclude
== WARNING
== WARNING
...
@@ -103,7 +108,7 @@ to an automatically created comment block.
...
@@ -103,7 +108,7 @@ to an automatically created comment block.