aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorVasiliy Ermolovich <younash@gmail.com>2011-11-28 10:54:12 +0300
committerVasiliy Ermolovich <younash@gmail.com>2011-11-28 10:54:12 +0300
commit25592569638689f9d863f21862b1f23b5b390833 (patch)
tree7569d9b4e27b770ede6fae8b730891b8ee10be18 /actionpack/CHANGELOG.md
parentfb8b555c490553ffe32d099303deaa37397029df (diff)
downloadrails-25592569638689f9d863f21862b1f23b5b390833.tar.gz
rails-25592569638689f9d863f21862b1f23b5b390833.tar.bz2
rails-25592569638689f9d863f21862b1f23b5b390833.zip
update CHANGELOG
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index fe422f71d5..314aa7181c 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,15 @@
## Rails 3.2.0 (unreleased) ##
+* You can provide a namespace for your form to ensure uniqueness of id attributes on form elements.
+ The namespace attribute will be prefixed with underscore on the generate HTML id. *Vasiliy Ermolovich*
+
+ Example:
+
+ <%= form_for(@offer, :namespace => 'namespace') do |f| %>
+ <%= f.label :version, 'Version' %>:
+ <%= f.text_field :version %>
+ <% end %>
+
* Refactor ActionDispatch::ShowExceptions. Controller is responsible for choice to show exceptions. *Sergey Nartimov*
It's possible to override +show_detailed_exceptions?+ in controllers to specify which requests should provide debugging information on errors.