From ddffc5560a207353bca916eac77b31df3b64dfc8 Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 21 Jul 2010 17:44:42 -0700 Subject: [PATCH] rake db:purge includes albums and comments --- lib/tasks/db.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake index deba4529d..a9bf81ee7 100644 --- a/lib/tasks/db.rake +++ b/lib/tasks/db.rake @@ -26,9 +26,11 @@ namespace :db do # Specifiy what models to remove Post.delete_all + Comment.delete_all Person.delete_all User.delete_all Request.delete_all + Album.delete_all end desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'