form helpers guide: fixes an example

This commit is contained in:
Xavier Noria
2010-08-09 14:11:05 +02:00
parent 28d82bd2e9
commit 195e891954

View File

@@ -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