Skip to content

Instantly share code, notes, and snippets.

@emerleite
Created February 26, 2010 01:30
Show Gist options
  • Save emerleite/315290 to your computer and use it in GitHub Desktop.
Save emerleite/315290 to your computer and use it in GitHub Desktop.
namespace :cache do
desc 'Clear memcache'
task :clear => :environment do
ActionController::Base.cache_store.clear
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment