lib/action_controller/metal/params_wrapper.rb in actionpack-5.0.4 vs lib/action_controller/metal/params_wrapper.rb in actionpack-5.0.5.rc1

- old
+ new

@@ -277,9 +277,9 @@ # Checks if we should perform parameters wrapping. def _wrapper_enabled? return false unless request.has_content_type? ref = request.content_mime_type.ref - _wrapper_formats.include?(ref) && _wrapper_key && !request.request_parameters[_wrapper_key] + _wrapper_formats.include?(ref) && _wrapper_key && !request.request_parameters.key?(_wrapper_key) end end end