1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update Changelog with the added response_format option in AD::DebugExceptions

This commit is contained in:
Jorge Bejar 2015-08-03 11:12:07 -03:00
parent c97e71616b
commit 290a536d28
2 changed files with 19 additions and 0 deletions

View file

@ -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

View file

@ -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