aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJorge Bejar <jorge@wyeworks.com>2015-08-03 11:12:07 -0300
committerJorge Bejar <jorge@wyeworks.com>2015-12-09 10:53:46 -0300
commit290a536d284d49eafebff6685fdf3b56746cbdb7 (patch)
treeb2f72447481ce16348a70833d2c4dff73dc8d508 /actionpack
parentc97e71616b1689367d07044bbb67be12d7922a0d (diff)
downloadrails-290a536d284d49eafebff6685fdf3b56746cbdb7.tar.gz
rails-290a536d284d49eafebff6685fdf3b56746cbdb7.tar.bz2
rails-290a536d284d49eafebff6685fdf3b56746cbdb7.zip
Update Changelog with the added response_format option in AD::DebugExceptions
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index b8563d5076..271a57a7ad 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,3 +1,13 @@
+* Add a `response_format` option to `ActionDispatch::DebugExceptions`
+ to configure the format of the response when errors occur in
+ development mode.
+
+ If `response_format` is `:default` the debug info will be rendered
+ in an HTML page. In the other hand, if the provided value is `:api`
+ the debug info will be rendered in the original response format.
+
+ *Jorge Bejar*
+
* Change the `protect_from_forgery` prepend default to `false`
Per this comment