Hi there,
I hope someone is going to share his best practice(s) with me :-)

I have a model A which has a 'hasMany' association with model B. model
B 'belongsTo' model A.

Now when adding A's to my database I'd like to add B's at the same
time and in one
<form action="/app/A/add"></form>, as well.

In A->add(), I would copy B->add()...

What do you think? Is that reasonable?
Or would you do it different?

Thanks and kind regards,
volka

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to