From 91d05082e43008f2617d468fdd6c0de95855fe7f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 18 Sep 2015 11:37:02 -0700 Subject: stop eagerly parsing parameters Parameters will not be parsed until they are specifically requested via the `request_parameters` method. --- actionpack/lib/action_dispatch/middleware/params_parser.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_dispatch/middleware/params_parser.rb b/actionpack/lib/action_dispatch/middleware/params_parser.rb index 17524129d4..00c3324b06 100644 --- a/actionpack/lib/action_dispatch/middleware/params_parser.rb +++ b/actionpack/lib/action_dispatch/middleware/params_parser.rb @@ -38,8 +38,6 @@ module ActionDispatch request.params_parsers = @parsers - request.request_parameters - @app.call(env) end end -- cgit v1.2.3