提交 5497432d 编写于 作者: X Xavier Noria

updates CHANGELOGs to register changes in 002713c6

上级 a328f2ff
## Rails 4.0.0 (unreleased) ##
* Adds support for the PATCH verb:
* Request objects respond to `patch?`.
* Routes have a new `patch` method, and understand `:patch` in the
existing places where a verb is configured, like `:via`.
* New method `patch` available in functional tests.
* If `:patch` is the default verb for updates, edits are
tunneled as PATCH rather than as PUT, and routing acts accordingly.
* New method `patch_via_redirect` available in integration tests.
*dlee*
* Integration tests support the `OPTIONS` method. *Jeremy Kemper*
* `expires_in` accepts a `must_revalidate` flag. If true, "must-revalidate"
......
## Rails 4.0.0 (unreleased) ##
* Adds support for PATCH requests. *dlee*
## Rails 3.2.0 (January 20, 2012) ##
* Redirect responses: 303 See Other and 307 Temporary Redirect now behave like
......
## Rails 4.0.0 (unreleased) ##
* New configuration option `config.default_method_for_update` tells Rails which
HTTP verb to use for update actions. Values can be `:patch` and `:put`.
Default is `:put` for backwards compatibility, but you are encouraged to
use `:patch` for proper HTTP semantics with partial updates.
* Allow to set class that will be used to run as a console, other than IRB, with `Rails.application.config.console=`. It's best to add it to `console` block. *Piotr Sarnacki*
Example:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册