Merge pull request #382 from grzuy/cleanup_redis_cache_store_proxy

Remove unnecessary wrapping of ActiveSupport::Cache::RedisCacheStore#read
This commit is contained in:
Gonzalo Rodriguez 2018-09-03 23:15:39 -03:00 committed by GitHub
commit fc235c90c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,10 +24,6 @@ module Rack
end
end
def read(name, options = {})
super(name, options.merge!(raw: true))
end
def write(name, value, options = {})
super(name, value, options.merge!(raw: true))
end