aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/form_helpers.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-08-09 14:11:05 +0200
committerXavier Noria <fxn@hashref.com>2010-08-09 14:11:05 +0200
commit505546af709082f25444e323ee0f2141a86bbc63 (patch)
treefaffbebece9d7aa17669470f4569ee64bddf6a37 /railties/guides/source/form_helpers.textile
parent4434e407e93001409605e5f02650b591a0cede32 (diff)
downloadrails-505546af709082f25444e323ee0f2141a86bbc63.tar.gz
rails-505546af709082f25444e323ee0f2141a86bbc63.tar.bz2
rails-505546af709082f25444e323ee0f2141a86bbc63.zip
form helpers guide: fixes an example
Diffstat (limited to 'railties/guides/source/form_helpers.textile')
-rw-r--r--railties/guides/source/form_helpers.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile
index 1f1b7d076e..146b75da3f 100644
--- a/railties/guides/source/form_helpers.textile
+++ b/railties/guides/source/form_helpers.textile
@@ -647,7 +647,7 @@ the +params+ hash will contain
{'person' => {'name' => 'Henry'}}
</erb>
-and +params["name"]+ will retrieve the submitted value in the controller.
+and +params[:person][:name]+ will retrieve the submitted value in the controller.
Hashes can be nested as many levels as required, for example