You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/configuring.md
-34Lines changed: 0 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -370,40 +370,6 @@ Sets up the application-wide encoding. Defaults to UTF-8.
370
370
Sets the exceptions application invoked by the `ShowException` middleware when an exception happens.
371
371
Defaults to `ActionDispatch::PublicExceptions.new(Rails.public_path)`.
372
372
373
-
Exceptions applications need to handle `ActionDispatch::Http::MimeNegotiation::InvalidType` errors, which are raised when a client sends an invalid `Accept` or `Content-Type` header.
374
-
The default `ActionDispatch::PublicExceptions` application does this automatically, setting `Content-Type` to `text/html` and returning a `406 Not Acceptable` status.
375
-
Failure to handle this error will result in a `500 Internal Server Error`.
376
-
377
-
Using the `Rails.application.routes``RouteSet` as the exceptions application also requires this special handling.
Is the class used to detect file updates in the file system when `config.reload_classes_only_on_change` is `true`. Rails ships with `ActiveSupport::FileUpdateChecker`, the default, and `ActiveSupport::EventedFileUpdateChecker`. Custom classes must conform to the `ActiveSupport::FileUpdateChecker` API.
0 commit comments