rails/guides
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
..
assets Fixing fetch image on 'back-to-top' button 2023-06-01 09:53:39 -03:00
bug_report_templates Fix `guides/active_record_migrations.rb` template to use the current migrations version 2023-12-17 11:36:10 +02:00
rails_guides Update guides generation to use Nokogiri's HTML5 parser 2023-06-19 15:38:13 -04:00
source Document developer-facing change to config.action_dispatch.show_exceptions default 2024-01-09 18:08:28 -05:00
.document adds guides/.document to tell rdoc not to process this directory 2013-03-04 22:28:23 +01:00
.rubocop.yml Document `response.parsed_body` in 7.1 release notes 2023-08-23 15:33:52 -04:00
CHANGELOG.md Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
Rakefile Use version of importmap that support loading outside of an app 2023-10-27 20:23:42 +00:00
rails_guides.rb Replaces mobi guide with epub for docs because of discontinued support 2022-08-05 00:18:20 +05:30
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00