Skip to content

Commit

Permalink
Add scheduler task for resetting demo data
Browse files Browse the repository at this point in the history
Easier than previous demo reset script
  • Loading branch information
simple10 committed Apr 9, 2014
1 parent b854dba commit dbd0062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/tasks/scheduler.rake
@@ -0,0 +1,4 @@
desc 'Reset all data for demo servers'
task :reset_all_data => :environment do
User.destroy_all
end

0 comments on commit dbd0062

Please sign in to comment.