I am new to rails and need some pointers on how i should handle multiple
’ ’ => model
In my app i am creating and handling some ‘deals’. Each ‘deal’ has got
‘orders’, and each ‘order’ has certain ‘duties’.
Now what i am doing currently is, on the new_deal page itself, i am
dynamically adding orders for that deal (using attribute_fu).
I also need some ajax functionality on this page. but that works for
the fields that are initialy present on the page, when its loaded (as i
not able to set the id’s for dynamic fields)
Can you guys suggest me some other better way to handle the above
i have asked at many forums, channels and they always tell me to avoid
mutiple models in a single page.