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:
Gonzalo Rodriguez 2020-05-20 21:33:13 -03:00
parent 35e4983400
commit 02f56979f1
No known key found for this signature in database
GPG key ID: 5DB8B81B049B8AB1

View file

@ -24,6 +24,10 @@ 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