aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/CHANGELOG.md11
-rw-r--r--activeresource/CHANGELOG.md5
-rw-r--r--railties/CHANGELOG.md5
3 files changed, 21 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index cf662500a4..afd47c858c 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,16 @@
## 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"
diff --git a/activeresource/CHANGELOG.md b/activeresource/CHANGELOG.md
index a69bfd0d73..3634f75979 100644
--- a/activeresource/CHANGELOG.md
+++ b/activeresource/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 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
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index a5f32d1a2c..e7978dc1bd 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,5 +1,10 @@
## 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: