remote_form_for(PersonWant.find_or_initialize_by_person_id_and_want_id)
in each td should work, right?

On Mar 3, 7:20 am, ptorrsmith <[email protected]> wrote:
> 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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to