提交 290a536d 编写于 作者: J Jorge Bejar

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

上级 c97e7161
* 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
......
* `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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册