You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To remove model/test/fixture/factory/serializer annotations:
96
96
97
97
annotate --delete
98
98
@@ -137,11 +137,11 @@ executed whenever you run +rake db:migrate+ (but only in development mode).
137
137
If you want to disable this behavior permanently, edit the +.rake+ file and
138
138
change:
139
139
140
-
'skip_on_db_migrate' => "false",
140
+
'skip_on_db_migrate' => 'false',
141
141
142
142
To:
143
143
144
-
'skip_on_db_migrate' => "true",
144
+
'skip_on_db_migrate' => 'true',
145
145
146
146
If you want to run +rake db:migrate+ as a one-off without running annotate,
147
147
you can do so with a simple environment variable, instead of editing the
@@ -154,33 +154,41 @@ you can do so with a simple environment variable, instead of editing the
154
154
155
155
Usage: annotate [options] [model_file]*
156
156
-d, --delete Remove annotations from all model files or the routes.rb file
157
-
-p, --position [before|after] Place the annotations at the top (before) or the bottom (after) of the model/test/fixture/factory/routes file(s)
158
-
--pc, --position-in-class [before|after]
157
+
-p, --position [before|top|after|bottom] Place the annotations at the top (before) or the bottom (after) of the model/test/fixture/factory/routes file(s)
0 commit comments