On 03/11/2011 01:01 AM, Lawrence Pit wrote:
I use:

if Rails.cache.is_a?(ActiveSupport::Cache::MemCacheStore)
Rails.cache.instance_variable_get(:@data).reset
end

Thanks a lot, that is exactly what I needed
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to