aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-16 16:08:29 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-16 16:08:29 +0000
commit6ee06ebec6814576b16f6438c89fb53d557305c2 (patch)
tree8119a05e75fa1b86485d05debeb0606970dadb93 /actionpack/CHANGELOG
parent82456d9392e4abc0a402294c32089b646975eed4 (diff)
downloadrails-6ee06ebec6814576b16f6438c89fb53d557305c2.tar.gz
rails-6ee06ebec6814576b16f6438c89fb53d557305c2.tar.bz2
rails-6ee06ebec6814576b16f6438c89fb53d557305c2.zip
Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index dd80def3ac..0687be4698 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,15 @@
*SVN*
+* Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from:
+
+ <%= render_partial "account", person, "rules" => regulations.rules %>
+
+ ...to:
+
+ <%= render_partial "account", :account => person, :rules => regulations.rules %>
+
+ The old API will still work, though, and render_partial "account" will still assume :account => @account.
+
* Added submit_to_remote that allows you to trigger an Ajax form submition at the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com]
* Fixed pagination to work with joins #1034 [scott@sigkill.org]