aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorStan Lo <a22301613@yahoo.com.tw>2016-02-25 13:45:09 +0800
committerStan Lo <a22301613@yahoo.com.tw>2016-02-25 13:45:09 +0800
commitd0c8117ced31e43af9abb3045fd7506c24ad4219 (patch)
treec48f1974c49403933883054444bc01c7c0f302f6 /guides/source/configuring.md
parent4e82346756bd504ec1ab347f447fc56faa5e006e (diff)
downloadrails-d0c8117ced31e43af9abb3045fd7506c24ad4219.tar.gz
rails-d0c8117ced31e43af9abb3045fd7506c24ad4219.tar.bz2
rails-d0c8117ced31e43af9abb3045fd7506c24ad4219.zip
Add config.debug_exception_response_format into configuration guide
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 12f3b648a5..b83d25c683 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -98,6 +98,8 @@ application. Accepts a valid week day symbol (e.g. `:monday`).
* `config.exceptions_app` sets the exceptions application invoked by the ShowException middleware when an exception happens. Defaults to `ActionDispatch::PublicExceptions.new(Rails.public_path)`.
+* `config.debug_exception_response_format` sets the format used in responses when errors occur in development mode.
+
* `config.file_watcher` 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` (this one depends on the [listen](https://github.com/guard/listen) gem). Custom classes must conform to the `ActiveSupport::FileUpdateChecker` API.
* `config.filter_parameters` used for filtering out the parameters that