From 6b38b9739ac190505641e4637c79b3ff20950bb2 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Mon, 19 Dec 2005 01:52:05 +0000 Subject: [PATCH] Documentation fixes git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ actionpack/lib/action_view/helpers/form_helper.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index d8a898f8ef..c9e554acff 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 4e24bfc702..aea5dc47f3 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 %> -- GitLab