Remove unnecessary wrapping of ActiveSupport::Cache::RedisCacheStore#read

`raw: true` isn't doing anything special for `read`, only for `write`
This commit is contained in:
Gonzalo Rodriguez 2018-09-03 17:55:05 -03:00
parent 717cf4def3
commit 7001178b6d
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1

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