aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2006-03-05 20:11:08 +0000
committerJamis Buck <jamis@37signals.com>2006-03-05 20:11:08 +0000
commitb8134000c4224a5fbca90360263c7eb44ebd5feb (patch)
tree41257fcc68c5df0365259ea4da967bf33ebe777b /railties/lib
parentccfcd9fe22c5fbffb154bce91c29f4f88603b80d (diff)
downloadrails-b8134000c4224a5fbca90360263c7eb44ebd5feb.tar.gz
rails-b8134000c4224a5fbca90360263c7eb44ebd5feb.tar.bz2
rails-b8134000c4224a5fbca90360263c7eb44ebd5feb.zip
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
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/tasks/databases.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/tasks/databases.rake b/railties/lib/tasks/databases.rake
index 3e75065488..886db456f0 100644
--- a/railties/lib/tasks/databases.rake
+++ b/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