Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Silence the migration messages when importing the schema for tests

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit b8134000c4224a5fbca90360263c7eb44ebd5feb 1 parent ccfcd9f
@jamis jamis authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/lib/tasks/databases.rake
View
1  railties/lib/tasks/databases.rake
@@ -67,6 +67,7 @@ namespace :db do
desc "Recreate the test database from the current environment's database schema"
task :clone => "db:schema:dump" do
ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
+ ActiveRecord::Schema.verbose = false
Rake::Task["db:schema:load"].invoke
end
Please sign in to comment.
Something went wrong with that request. Please try again.