Sending whole rows of data from a form

This may or may not be what you're asking, but I've found that if you have a form with

<%= text_field_tag 'foos[prop1]' %> <%= text_field_tag 'foos[prop2]' %>

<%= text_field_tag 'foos[prop1]' %> <%= text_field_tag 'foos[prop2]' %>

Then that gets handled by rails as {:foos => [{'prop1' => 'value 1', 'prop2' => 'value 2'}, {'prop1' => 'baz', 'prop2' => 'bar'}] }

Fred

If you want to send data back to server then you need to put it into input fields. How about creating hidden fields as well as displaying the data, or use disabled fields and modifying the style of the field so it doesnt look like an input box

Tonypm.