diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index d8a898f8ef3a03946186e59eea5cc02d2fb74dcc..c9e554acffbb64d0338ec693eafbb434435a9022 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix incorrect documentation for form_for [Nicholas Seckar] + * Don't include a layout when rendering an rjs template using render's :template option. [Marcel Molina Jr.] * Update to script.aculo.us 1.5.0 final (equals 1.5.0_rc6) [Thomas Fuchs] diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 4e24bfc702c8556ae969fe01dc5898e08add7d44..aea5dc47f32ebc93607aae58e5c20a95ca7d094b 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -68,7 +68,7 @@ module FormHelper # Creates a form and a scope around a specific model object, which is then used as a base for questioning about # values for the fields. Examples: # - # <% form_for :person => @person, :url => { :action => "update" } do |f| %> + # <% form_for :person, @person, :url => { :action => "update" } do |f| %> # First name: <%= f.text_field :first_name %> # Last name : <%= f.text_field :last_name %> # Biography : <%= f.text_area :biography %>