Skip to content
Browse files

form helpers guide: fixes an example

  • Loading branch information...
1 parent 4434e40 commit 505546af709082f25444e323ee0f2141a86bbc63 @fxn fxn committed Aug 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/form_helpers.textile
View
2 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

0 comments on commit 505546a

Please sign in to comment.
Something went wrong with that request. Please try again.