Topic: Problems in Nested Form.
I'm a newbie in ruby on rails programming.
anybody can help for below issue ?
* Model PurchaseOrder with has_many relationship to PurchaseOrderDetail.
* i have a PurchaseOrder view that Contain PO Header and list of PO detail
* i have a JQuery UI dialog to add into List Of Po Detail.
the scenario is can i add purchase order detail and store temporary (Which means i can remove or edit or add another detail)
before save purchase order ?
After add PO Detail in Dialog Form , it will show in my PO List. (Something same like Add To Cart in most ecommerce website).
So When i call @PurchaseOrder.save(), activeRecord begin to create Po and it detail.
May i know can ruby on rails support on that ?
And How To do it ?
Hope all senior can help about that.
Thanks before and best Regards,
Last edited by AryantoNg (2012-08-14 06:23:53)