aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2005-12-19 01:52:05 +0000
committerNicholas Seckar <nseckar@gmail.com>2005-12-19 01:52:05 +0000
commit6b38b9739ac190505641e4637c79b3ff20950bb2 (patch)
tree445b1ed83961ed04d5fab75dad2f2ac0c9ecfc4d
parent56234bee14ad5219d4d1720a6a3532f684ed3a0d (diff)
downloadrails-6b38b9739ac190505641e4637c79b3ff20950bb2.tar.gz
rails-6b38b9739ac190505641e4637c79b3ff20950bb2.tar.bz2
rails-6b38b9739ac190505641e4637c79b3ff20950bb2.zip
Documentation fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
2 files changed, 3 insertions, 1 deletions
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 ActionView
# 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 %>