diff options
author | Vasiliy Ermolovich <younash@gmail.com> | 2011-11-28 10:54:12 +0300 |
---|---|---|
committer | Vasiliy Ermolovich <younash@gmail.com> | 2011-11-28 10:54:12 +0300 |
commit | 25592569638689f9d863f21862b1f23b5b390833 (patch) | |
tree | 7569d9b4e27b770ede6fae8b730891b8ee10be18 /actionpack | |
parent | fb8b555c490553ffe32d099303deaa37397029df (diff) | |
download | rails-25592569638689f9d863f21862b1f23b5b390833.tar.gz rails-25592569638689f9d863f21862b1f23b5b390833.tar.bz2 rails-25592569638689f9d863f21862b1f23b5b390833.zip |
update CHANGELOG
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 10 |
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. |