diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-08-03 11:12:07 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:46 -0300 |
commit | 290a536d284d49eafebff6685fdf3b56746cbdb7 (patch) | |
tree | b2f72447481ce16348a70833d2c4dff73dc8d508 | |
parent | c97e71616b1689367d07044bbb67be12d7922a0d (diff) | |
download | rails-290a536d284d49eafebff6685fdf3b56746cbdb7.tar.gz rails-290a536d284d49eafebff6685fdf3b56746cbdb7.tar.bz2 rails-290a536d284d49eafebff6685fdf3b56746cbdb7.zip |
Update Changelog with the added response_format option in AD::DebugExceptions
-rw-r--r-- | actionpack/CHANGELOG.md | 10 | ||||
-rw-r--r-- | railties/CHANGELOG.md | 9 |
2 files changed, 19 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 diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index e6bee302a3..e5ab31005e 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,12 @@ +* `config.debug_exception_response_format` configures the format used + in responses when errors occur in development mode. + + Set `config.debug_exception_response_format` to render an HTML page with + debug info (using the value `:default`) or render debug info preserving + the response format (using the value `:api`). + + *Jorge Bejar* + * Fix setting exit status code for rake test tasks. The exit status code was not set when tests were fired with `rake`. Now, it is being set and it matches behavior of running tests via `rails` command (`rails test`), so no matter if |