rails/guides/source
Sean Doyle 723e69c857 Document developer-facing change to config.action_dispatch.show_exceptions default
Support for the new `action_dispatch.show_exceptions` values was
introduced in [e28f147][]. Alongside the change to introduce new values
(like `:all`, `:rescuable`, `:none`), the default behavior was changed
for `Rails.env.test?`.

Prior to that commit, the `test` environment's default value was `false`
(introduced in [d898a4b][]) (which corresponds to the new `:none`
setting).

The new default behavior has some unintended negative side effects that
impact the feedback loop at the core of test-driven development.
When errors are rescued and transformed into HTML pages, the context of
the cause of failure is obscured by additional layers of information.

First, this commit adds more prominent entries to the Upgrading and
Configuring guides, as well as the 7.1 Release Notes to document the
details of the configuration and its new values.

Next, this commit adds more documentation around the change in default
behavior. To start, it mentions the new value in the sections for the
affected test types: Controller, Integration, and System.

[e28f147]: e28f147329
[d898a4b]: d898a4ba42
2024-01-09 18:08:28 -05:00
..
epub Replaces mobi guide with epub for docs because of discontinued support 2022-08-05 00:18:20 +05:30
_license.html.erb
_welcome.html.erb Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
2_2_release_notes.md Fixes mime -> MIME 2022-10-02 07:10:43 +05:30
2_3_release_notes.md Capitalize "Rails" [ci-skip] 2023-12-19 13:16:47 -06:00
3_0_release_notes.md Fixed typo: HTML 5 -> HTML5 2022-02-21 02:34:46 +05:30
3_1_release_notes.md Use double quotes more consistenly in doc and error messages 2023-10-28 11:38:49 +02:00
3_2_release_notes.md [skip ci] Added missing $ for a bash script 2023-08-23 15:58:08 +05:30
4_0_release_notes.md Update 4_0_release_notes.md 2023-03-30 22:32:37 +02:00
4_1_release_notes.md Fix links to master branches renamed to main 2024-01-07 12:35:46 -05:00
4_2_release_notes.md Use double quotes more consistenly in doc and error messages 2023-10-28 11:38:49 +02:00
5_0_release_notes.md Fixes mime -> MIME 2022-10-02 07:10:43 +05:30
5_1_release_notes.md [ci skip] Fixed typos and grammatical errors 2021-06-01 04:54:25 +05:30
5_2_release_notes.md Merge pull request #46174 from datt/fix-sqlite 2022-10-02 10:55:12 +02:00
6_0_release_notes.md [ci skip] Corrected Change logs to Changelogs 2021-05-31 18:40:12 +05:30
6_1_release_notes.md Follow #47946 and apply to release notes 2023-05-16 18:18:14 +09:00
7_0_release_notes.md Ruby code block indentation issue fix 2023-09-07 01:14:48 +05:30
7_1_release_notes.md Use the article "an" for "SQL" 2024-01-06 15:28:58 +09:00
7_2_release_notes.md Document removal of rails/ujs in release note 2024-01-03 19:10:52 +05:30
action_cable_overview.md Move example to API docs [ci-skip] 2023-10-07 11:55:34 -05:00
action_controller_overview.md [skip ci] Add composite primary key examples to Rails guides 2023-09-05 10:33:27 -05:00
action_mailbox_basics.md Link to api.rubyonrails.org instead of edgeapi [ci-skip] 2023-11-23 11:13:15 -06:00
action_mailer_basics.md Remove rollup and test machinery for rails-ujs (#50535) 2024-01-02 16:49:36 +01:00
action_text_overview.md Provide guidance for renaming classes in polymorphic associations [ci skip] 2023-12-08 09:19:21 -05:00
action_view_helpers.md Add link to API documentation for ActionView helper method 2024-01-03 23:36:10 +05:30
action_view_overview.md Use double quotes more consistenly in doc and error messages 2023-10-28 11:38:49 +02:00
active_job_basics.md docs: update reference to main branch 2023-12-30 09:37:55 +13:00
active_model_basics.md Clarify ActiveModel::SecurePassword maximum password length 2023-10-24 10:24:38 +02:00
active_record_basics.md Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
active_record_callbacks.md Not only save(validate: false) but also save!(validate: false) triggers callbacks 2023-11-09 15:42:08 +09:00
active_record_composite_primary_keys.md Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
active_record_encryption.md [Fix #48685] Make the encryptor agnostic of the type of data to decrypt 2024-01-05 13:05:15 -05:00
active_record_migrations.md Simplify up / down migration example [ci-skip] 2023-10-07 12:26:26 -05:00
active_record_multiple_databases.md Merge pull request #50438 from fatkodima/schema_dump-docs 2024-01-04 00:58:22 +02:00
active_record_postgresql.md Utilize new enum syntax 2024-01-01 22:52:52 -03:00
active_record_querying.md Add code examples to readonly documentation 2024-01-09 21:22:10 +01:00
active_record_validations.md Use correct tense of cast for guides 2023-10-13 13:07:07 +10:30
active_storage_overview.md Fix links to master branches renamed to main 2024-01-07 12:35:46 -05:00
active_support_core_extensions.md update zettabytes doc 2023-11-01 16:47:35 +09:00
active_support_instrumentation.md Merge pull request #49297 from hannahramadan/main 2023-12-13 08:38:59 +00:00
api_app.md Update api_app.md to remove specific app name 2024-01-05 13:34:18 -05:00
api_documentation_guidelines.md Merge pull request #50593 from p8/guides/add-english-and-oxford-comma-to-wording 2024-01-08 19:04:47 +01:00
asset_pipeline.md Fix links to master branches renamed to main 2024-01-07 12:35:46 -05:00
association_basics.md Fix typo [ci-skip] 2024-01-06 18:07:26 -06:00
autoloading_and_reloading_constants.md Enable raising when running rubocop-md against invalid ruby snippets 2023-09-27 23:12:48 +03:00
caching_with_rails.md Update ActiveSupport::Cache::RedisCacheStore documentation 2023-11-09 23:52:00 +09:00
classic_to_zeitwerk_howto.md Update classic_to_zeitwerk_howto.md 2023-10-17 18:54:58 +02:00
command_line.md Update the puma startup message 2024-01-01 11:38:05 +05:30
configuring.md Document developer-facing change to config.action_dispatch.show_exceptions default 2024-01-09 18:08:28 -05:00
contributing_to_ruby_on_rails.md Removed references to separate test case templates due to the fact, that these templates were merged. 2024-01-08 15:32:31 +04:00
debugging_rails_applications.md link to internet archive for valgrind blog link in debugging_rails_applications.md (#50042) 2023-11-14 19:07:44 +01:00
development_dependencies_install.md docs: fix ImageMagick package name on fedora [ci-skip] 2023-12-29 14:14:15 -07:00
documents.yaml Typo fix: updates the rails version 2023-11-01 09:27:57 +05:30
engines.md Update outdated documentation for Engines 2023-12-12 13:05:55 +09:00
error_reporting.md Use "library.name" format in initializer examples 2023-05-07 18:11:16 -04:00
form_helpers.md Update form_helpers.md 2023-11-29 14:08:49 +01:00
generators.md Capitalize "Rails" [ci-skip] 2023-12-19 13:16:47 -06:00
getting_started.md Add .github to the default rails file structure 2024-01-03 18:51:30 +05:30
i18n.md docs: update reference to main branch 2024-01-05 13:01:11 +13:00
index.html.erb Fix headings in guides index [ci-skip] 2023-04-20 08:14:49 +02:00
initialization.md Add rubocop-md for linting guides snippets 2023-03-15 10:48:19 +09:00
layout.html.erb Use h1 for guide titles 2023-04-18 22:27:03 +02:00
layouts_and_rendering.md Document rendering :renderable and #render_in 2024-01-06 17:57:02 -05:00
maintenance_policy.md Update guide: NPM -> npm 2023-10-11 19:07:50 +09:00
plugins.md Update link for creating a gem 2024-01-07 12:38:55 -05:00
rails_application_templates.md Run after_bundle blocks with app:template command 2023-05-21 14:34:48 -05:00
rails_on_rack.md Update Rack::Head documentation to match code behavior 2023-12-12 21:08:56 +00:00
routing.md Change resourceful to resource for clarity 2023-10-03 10:28:28 -03:00
ruby_on_rails_guides_guidelines.md Note that guide text should wrap at 80 columns 2023-09-08 13:22:28 +01:00
security.md Use the article "an" for "SQL" 2024-01-06 15:28:58 +09:00
testing.md Document developer-facing change to config.action_dispatch.show_exceptions default 2024-01-09 18:08:28 -05:00
threading_and_code_execution.md Capitalize headings to match style guidelines 2022-10-17 17:01:28 -10:00
upgrading_ruby_on_rails.md Document developer-facing change to config.action_dispatch.show_exceptions default 2024-01-09 18:08:28 -05:00
working_with_javascript_in_rails.md Just clarifies a little the bun installation process and gives people instructions what to do if it did not install. 2023-10-12 18:01:38 -04:00