We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cfde37 commit 4d77e24Copy full SHA for 4d77e24
README.rdoc
@@ -158,7 +158,7 @@ If you want to run <code>rake db:migrate</code> as a one-off without running ann
158
you can do so with a simple environment variable, instead of editing the
159
+.rake+ file:
160
161
- skip_on_db_migrate=1 rake db:migrate
+ ANNOTATE_SKIP_ON_DB_MIGRATE=1 rake db:migrate
162
163
164
== Options
lib/annotate.rb
@@ -106,7 +106,7 @@ def self.reset_options
106
end
107
108
def self.skip_on_migration?
109
- ENV['skip_on_db_migrate'] =~ TRUE_RE
+ ENV['ANNOTATE_SKIP_ON_DB_MIGRATE'] =~ TRUE_RE || ENV['skip_on_db_migrate'] =~ TRUE_RE
110
111
112
def self.include_routes?
0 commit comments