rake task to clear redis cache

This commit is contained in:
Dmitriy Zaporozhets 2013-03-31 23:45:58 +03:00
parent a0bca5b71d
commit 2a6b4f965e

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

@ -0,0 +1,6 @@
namespace :cache do
desc "GITLAB | Clear redis cache"
task :clear => :environment do
Rails.cache.clear
end
end