Hiya'll.
I'm trying to create an ajaxy form full of intersect values in which each intersect-field can be edited (in place style) and submitted back on change.
I have 3 models :people (name) :wants (name) :people_wants (person_id, want_id, importance) #importance of this want for this person, if at all.
I want to spit out a grid effectively with people along the top and wants down the side, and in the intersect spots have an in-place-edit field for the "importance" value (if there is one, otherwise it will be created when an importance value is entered).
Any suggestions as to how to structure the form so each intersect field is aware of its person_id and it's want_id and this is passed back on the XHR for updating?
Thanks
Peter