Skip to content

Commit

Permalink
Merge pull request #51734 from sunakan/fix-typo-in-rails-guides
Browse files Browse the repository at this point in the history
Fix typo in configuring guide [ci skip]
  • Loading branch information
kamipo committed May 4, 2024
2 parents d65fec4 + 8e7da61 commit 2b14603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2053,7 +2053,7 @@ The `config.action_dispatch.show_exceptions` configuration controls how Action P

Setting the value to `:all` configures Action Pack to rescue from exceptions and render corresponding error pages. For example, Action Pack would rescue from an `ActiveRecord::RecordNotFound` exception and render the contents of `public/404.html` with a `404 Not found` status code.

Setting the value to `:rescueable` configures Action Pack rescue from exceptions defined in [`config.action_dispatch.rescue_responses`](/configuring.html#config-action-dispatch-rescue-responses), and raise all others. For example, Action Pack would rescue from `ActiveRecord::RecordNotFound`, but would raise a `NoMethodError`.
Setting the value to `:rescuable` configures Action Pack rescue from exceptions defined in [`config.action_dispatch.rescue_responses`](/configuring.html#config-action-dispatch-rescue-responses), and raise all others. For example, Action Pack would rescue from `ActiveRecord::RecordNotFound`, but would raise a `NoMethodError`.

Setting the value to `:none` configures Action Pack raise all exceptions.

Expand Down

0 comments on commit 2b14603

Please sign in to comment.