…he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
This method has no effect since exception handling was moved to middlewares and ActionController tests do not use any middlewares.
…mplate is being rendered Closes #5025 part 2
`ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string.
Default responder was only using the given respond block when user requested for HTML format, or JSON/XML format with valid resource. This fix the responder so that it will use the given block regardless of the validity of the resource. Note that in this case you'll have to check for object's validity by yourself in the controller. Fixes #4796
Use the constants AbstractController::ActionNotFound and AbstractController::DoubleRenderError respectively instead.
…al in production.
…er::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*