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
@@ -154,14 +158,15 @@ If you want to run <code>rake db:migrate</code> as a one-off without running ann
154
158
you can do so with a simple environment variable, instead of editing the
155
159
+.rake+ file:
156
160
157
-
skip_on_db_migrate=1 rake db:migrate
161
+
ANNOTATE_SKIP_ON_DB_MIGRATE=1 rake db:migrate
158
162
159
163
160
164
== Options
161
165
162
166
Usage: annotate [options] [model_file]*
163
167
-d, --delete Remove annotations from all model files or the routes.rb file
164
-
-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)
168
+
-p [before|top|after|bottom], Place the annotations at the top (before) or the bottom (after) of the model/test/fixture/factory/route/serializer file(s)
Copy file name to clipboardExpand all lines: Rakefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ require 'mg'
28
28
begin
29
29
MG.new('annotate.gemspec')
30
30
rescueException
31
-
STDERR.puts("WARNING: Couldn't read gemspec. As such, a number of tasks may be unavailable to you until you run 'rake gem:gemspec' to correct the issue.")
31
+
$stderr.puts("WARNING: Couldn't read gemspec. As such, a number of tasks may be unavailable to you until you run 'rake gem:gemspec' to correct the issue.")
32
32
# Gemspec is probably in a broken state, so let's give ourselves a chance to
0 commit comments