Fix Rails.cache.clear not working.
Found from here https://github.com/mperham/dalli/issues/150