Ajax form with sub items?

Hi,

I'm new to rails. I'm trying to make an Ajax form to add/edit items, with a "subform" to add/edit subitems on the same form. But I have no idea how to begin with this, or what terms to search for tutorials. So if anyone can point me in the right direction, or write up basic explenation, it would be greatly appreciated.

Thanks,

Sven Magnus

Hi Sven,

Sven Magnus wrote:

I'm new to rails. I'm trying to make an Ajax form to add/edit items, with a "subform" to add/edit subitems on the same form. But I have no idea how to begin with this, or what terms to search for tutorials. So if anyone can point me in the right direction, or write up basic explenation, it would be greatly appreciated.

I highly recommend Cody Fauser's RJS Tutorial. It's in PDF, available for $10 at O'Reilly. Best $10 I spent on Rails (cause they wouldn't let me buy half of AWDwR or Pickaxe :wink: )

Best regards, Bill