diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-18 11:37:02 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-18 11:37:02 -0700 |
commit | 91d05082e43008f2617d468fdd6c0de95855fe7f (patch) | |
tree | adfe48a2b371deea7f7f808c180badeb401f98d4 /actionpack | |
parent | 1555ae9be1a74a869e4b238e00b820799dab8218 (diff) | |
download | rails-91d05082e43008f2617d468fdd6c0de95855fe7f.tar.gz rails-91d05082e43008f2617d468fdd6c0de95855fe7f.tar.bz2 rails-91d05082e43008f2617d468fdd6c0de95855fe7f.zip |
stop eagerly parsing parameters
Parameters will not be parsed until they are specifically requested via
the `request_parameters` method.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/params_parser.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |