mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +00:00
Merge pull request #482 from splitwise/rofreg/avoid-rails-5.2.4.3-deprecation-warning
Fix deprecation warning in Rails 5.2.4.3
This commit is contained in:
commit
91596db90f
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ module Rack
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def read(name, options = {})
|
||||||
|
super(name, options.merge!(raw: true))
|
||||||
|
end
|
||||||
|
|
||||||
def write(name, value, options = {})
|
def write(name, value, options = {})
|
||||||
super(name, value, options.merge!(raw: true))
|
super(name, value, options.merge!(raw: true))
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue