Skip to content

Commit

Permalink
added cache:clear rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
ktc committed Sep 2, 2009
1 parent b3b348b commit 39c7553
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Rakefile
Expand Up @@ -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

0 comments on commit 39c7553

Please sign in to comment.