Skip to content

Commit

Permalink
Update Changelog with the added response_format option in AD::DebugEx…
Browse files Browse the repository at this point in the history
…ceptions
  • Loading branch information
jmbejar committed Dec 9, 2015
1 parent c97e716 commit 290a536
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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
Expand Down
9 changes: 9 additions & 0 deletions 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
Expand Down

0 comments on commit 290a536

Please sign in to comment.