mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
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:
parent
717cf4def3
commit
7001178b6d
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue