rails--rails/actionpack/test/controller
Rafael Mendonça França 7d2d00a334
Fix handling of ParseError in controllers
It regressed in #34894, which moved the rescue to the wrong method.
`_wrapper_enabled?` can access the parameters and the exception will
raise there before even entering `_perfomr_parameter_wrapping`.

Closes #38285.
2021-03-24 22:53:27 +00:00
..
api
controller_fixtures
metal
mime
new_base Remove deprecated support to passing relative paths to `render file:` 2020-10-30 00:25:14 +00:00
parameters Use Enumerator#all? and Enumerator#any? with classes instead of iterations 2021-02-07 01:29:50 -05:00
request
action_pack_assertions_test.rb
base_test.rb URL helper methods on controllers are public methods 2020-09-16 12:15:24 +09:00
caching_test.rb
content_type_test.rb
default_url_options_with_before_action_test.rb
filters_test.rb Remove special case filtering for Procs. 2021-03-02 17:20:35 -08:00
flash_hash_test.rb
flash_test.rb AC::Base#flash is a public method 2020-09-16 12:15:23 +09:00
form_builder_test.rb
helper_test.rb Remove all version checking for older Rubies in tests 2021-02-05 13:21:45 +09:00
http_basic_authentication_test.rb
http_digest_authentication_test.rb
http_token_authentication_test.rb Fix exception in raw_params method 2021-02-01 16:22:42 +09:00
integration_test.rb Use image/jpeg instead of non-standard image/jpg 2021-03-05 13:14:11 -05:00
live_stream_test.rb fix typo 2021-03-16 23:57:22 +01:00
localized_templates_test.rb
log_subscriber_test.rb Handle throwing in controller action in log subscriber 2021-01-24 09:52:27 +01:00
logging_test.rb
metal_test.rb Shorten inspect on AbstractController::Base 2020-09-05 19:37:31 +02:00
output_escaping_test.rb
parameter_encoding_test.rb Deduplicate some routing data 2020-06-30 18:32:31 +02:00
params_parse_test.rb
params_wrapper_test.rb
permitted_params_test.rb
redirect_test.rb Allow passing anything with `#to_str` into `redirect_to` 2021-02-22 23:30:28 +00:00
render_js_test.rb Change `ActionDispatch::Response#content_type` to return the full Content-Type header 2020-10-30 00:25:49 +00:00
render_json_test.rb Change `ActionDispatch::Response#content_type` to return the full Content-Type header 2020-10-30 00:25:49 +00:00
render_test.rb Calculate the minimum/maximum from an enumerable's extracted elements 2021-02-12 17:37:53 +01:00
render_xml_test.rb Change `ActionDispatch::Response#content_type` to return the full Content-Type header 2020-10-30 00:25:49 +00:00
renderer_test.rb Remove deprecated support to passing relative paths to `render file:` 2020-10-30 00:25:14 +00:00
renderers_test.rb Revert "Raise when calling render with invalid options" 2020-10-29 13:49:30 -07:00
request_forgery_protection_test.rb Change `ActionDispatch::Response#content_type` to return the full Content-Type header 2020-10-30 00:25:49 +00:00
required_params_test.rb Add DidYouMean for ParameterMissing 2020-05-19 10:50:24 +02:00
rescue_test.rb Fix handling of ParseError in controllers 2021-03-24 22:53:27 +00:00
resources_test.rb Fix end alignment 2021-03-21 15:46:36 +09:00
route_helpers_test.rb
routing_test.rb Revert "actionpack: Improve performance by allowing routes with custom regexes in the FSM." 2021-01-05 22:21:53 +00:00
runner_test.rb
send_file_test.rb
show_exceptions_test.rb
streaming_test.rb
test_case_test.rb Use image/jpeg instead of non-standard image/jpg 2021-03-05 13:14:11 -05:00
url_for_integration_test.rb
url_for_test.rb URL helper methods on controllers are public methods 2020-09-16 12:15:24 +09:00
url_rewriter_test.rb
webservice_test.rb