aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-22 21:09:35 +0100
committerXavier Noria <fxn@hashref.com>2012-02-22 21:09:57 +0100
commit5497432d71b88ae4b99c6c59199eba95d81f28f6 (patch)
tree3a486e17876ac27d3e22e1163ea7041e370bf189
parenta328f2ffd2d7764c92c87505d0b43f9e3a8c8f28 (diff)
downloadrails-5497432d71b88ae4b99c6c59199eba95d81f28f6.tar.gz
rails-5497432d71b88ae4b99c6c59199eba95d81f28f6.tar.bz2
rails-5497432d71b88ae4b99c6c59199eba95d81f28f6.zip
updates CHANGELOGs to register changes in 002713c
-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: