Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot to set Migration.verbose at f8d9a51 :bomb:

  • Loading branch information...
commit f0737d80d75e03665d4387549495a3ae67e3faf5 1 parent 365aa65
@amatsuda amatsuda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/tasks/database_tasks.rb
View
2  activerecord/lib/active_record/tasks/database_tasks.rb
@@ -131,7 +131,7 @@ def migrate
verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
version = ENV["VERSION"] ? ENV["VERSION"].to_i : nil
scope = ENV['SCOPE']
- verbose_was = Migration.verbose
+ verbose_was, Migration.verbose = Migration.verbose, verbose
Migrator.migrate(Migrator.migrations_paths, version) do |migration|
scope.blank? || scope == migration.scope
end
Please sign in to comment.
Something went wrong with that request. Please try again.