diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index 195b1d4c6fba9..56792f6ba229e 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -502,10 +502,6 @@ def respond_to?(method, include_private = false) def to_path @response.stream.to_path end - - def to_ary - nil - end end def handle_no_content!