diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 327cdd778..e9d15cae5 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -214,17 +214,3 @@ module ActionView end end end - -# https://github.com/rack/rack/pull/1703 -# TODO: remove this when Rack is updated to 3.0.0 -require 'rack' -module Rack - class RewindableInput - unless method_defined?(:size) - def size - make_rewindable unless @rewindable_io - @rewindable_io.size - end - end - end -end