Thanks but what if I have 10 of that same item on the page.
Would I
then change my convention to:
<input name="item1[description][]" />
<input name="item2[description][]" />
and if so, how would I process that on the controller end?
- Dave
On Jan 18, 6:36 pm, Keynan Pratt <rails-mailing-l... andreas-s.net>
wrote:
> sounds like the naming convention you would want would
be something like
>
> object[attribute][]
>
> ie.
>
> <input name="item[description][]" />
>
> --
> Posted viahttp://www.ruby-forum.com
/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
|