aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-22 17:21:13 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-04-22 17:21:13 +0530
commit4d770712595ae1d4937d602dce7ab1220ec6ef7f (patch)
tree01be80c89399fc52d2728eac69bab90a73f52e80 /guides
parentdb3f68f4d733437ade5d0668b981542b2e0873b2 (diff)
downloadrails-4d770712595ae1d4937d602dce7ab1220ec6ef7f.tar.gz
rails-4d770712595ae1d4937d602dce7ab1220ec6ef7f.tar.bz2
rails-4d770712595ae1d4937d602dce7ab1220ec6ef7f.zip
Mention default values for `debug_exception_response_format` in configuring guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 39615051d4..a5fe16ae0a 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -98,7 +98,7 @@ 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.debug_exception_response_format` sets the format used in responses when errors occur in development mode. Defaults to `:api` for API only apps and `:default` for normal apps.
* `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.