Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added cache:clear rake task

  • Loading branch information...
commit 39c7553fbdea11af7c79ce1e5cf3d2cff60a35bc 1 parent b3b348b
ktc authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
8 Rakefile
@@ -8,3 +8,11 @@ require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
+
+namespace :cache do
+ task :clear => :environment do
+ puts "about to clear the politician"
+ Politician.destroy_all
+ puts "thanks for playing!"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.