Adds rake task for clearing the cache

This commit is contained in:
kikito
2015-09-07 13:03:29 +02:00
parent 1a855b2a90
commit d575430645

6
lib/tasks/cache.rake Normal file
View File

@@ -0,0 +1,6 @@
namespace :cache do
desc "Clears memcached"
task clear: :environment do
Rails.cache.clear
end
end