aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-09-23 00:44:55 +0200
committerJosé Valim <jose.valim@gmail.com>2011-09-23 00:44:55 +0200
commitd62fc8e0211ca2657899f061888d1756a3c257dd (patch)
tree1021149bb21b060b286632a0ed8eecb3387d6428 /actionpack/CHANGELOG
parent48d27363f2d6f20a7178dc9bd0d664bc4e60212d (diff)
downloadrails-d62fc8e0211ca2657899f061888d1756a3c257dd.tar.gz
rails-d62fc8e0211ca2657899f061888d1756a3c257dd.tar.bz2
rails-d62fc8e0211ca2657899f061888d1756a3c257dd.zip
Update CHANGELOG.
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 5ee14dbdf1..c3ff677529 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,13 @@
*Rails 3.2.0 (unreleased)*
+* Passing formats or handlers to render :template and friends is deprecated. For example: [Nick Sutterer & José Valim]
+
+ render :template => "foo.html.erb"
+
+ Instead, you can provide :handlers and :formats directly as option:
+
+ render :template => "foo", :formats => [:html, :js], :handlers => :erb
+
* Changed log level of warning for missing CSRF token from :debug to :warn. [Mike Dillon]
* content_tag_for and div_for can now take the collection of records. It will also yield the record as the first argument if you set a receiving argument in your block [Prem Sichanugrist]