Adds rake task for clearing the cache
This commit is contained in:
6
lib/tasks/cache.rake
Normal file
6
lib/tasks/cache.rake
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace :cache do
|
||||
desc "Clears memcached"
|
||||
task clear: :environment do
|
||||
Rails.cache.clear
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user