Re: ", '@item') %> (working on it)

ok, so I’m playing with the source now and have gotten this working
(at least on the output side of things).

So my example of:
<% for @order in @orders %>

<%= text_field(“order[]”, ‘name’) %>

<% for @item in @order.items %>

<%= text_field(“order[]item[]”, ‘name’) %>

yeilds something like this:
<input type=“text” name=“order[1][name]” …
<input type=“text” name=“order[1]item[1][name]”…
<input type=“text” name=“order[2][name]” …
<input type=“text” name=“order[2]item[1][name]”…
<input type=“text” name=“order[2]item[2][name]”…

Before I start working on loading this back into model objects upon a
submit, does anyone have any thoughts on this approach? This
functionality wasn’t left out for any particular reason, was it?

Thanks,
Ben