Permalink
Browse files

Documentation fixes

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 56234be commit 6b38b9739ac190505641e4637c79b3ff20950bb2 @seckar seckar committed Dec 19, 2005
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/helpers/form_helper.rb
View
@@ -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]
@@ -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 %>

0 comments on commit 6b38b97

Please sign in to comment.