<
input
id
=
"person_name"
name
=
"person[name]"
type
=
"text"
value
=
"Henry"
/>
{'person' => {'name' => 'Henry'}}
I would say though that you should use form_for rather than form_tag
if possible. So if the form is displaying data for an object then use
form_for.