rake db:purge includes albums and comments

This commit is contained in:
maxwell 2010-07-21 17:44:42 -07:00
parent 5c77ab048e
commit ddffc5560a

View file

@ -26,9 +26,11 @@ namespace :db do
# Specifiy what models to remove # Specifiy what models to remove
Post.delete_all Post.delete_all
Comment.delete_all
Person.delete_all Person.delete_all
User.delete_all User.delete_all
Request.delete_all Request.delete_all
Album.delete_all
end end
desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb' desc 'Purge and seed the current RAILS_ENV database using information from db/seeds.rb'