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 committed by GitHub
commit 91596db90f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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