From d7efee55a1b658da97915fed136010ef03673183 Mon Sep 17 00:00:00 2001
From: danielgrippi <danielgrippi@gmail.com>
Date: Mon, 6 Jun 2011 19:39:14 -0700
Subject: [PATCH] load schema instead of migrating on rake db:rebuild

---
 lib/tasks/db.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake
index 68a9439ac1..94fda525d8 100644
--- a/lib/tasks/db.rake
+++ b/lib/tasks/db.rake
@@ -4,7 +4,7 @@
 
 namespace :db do
   desc "rebuild and prepare test db"
-  task :rebuild => [:drop, :create, :migrate, 'db:test:prepare']
+  task :rebuild => [:drop, :create, 'schema:load', 'db:test:prepare']
 
   namespace :integration do
     # desc 'Check for pending migrations and load the integration schema'
-- 
GitLab