Hi Baris,

thank you for your answer.

Ok, in this case are you right, but the "Address" relationship was
just an example.

Another thing: What if I add another objects, which have one Address?
- Everytime I do this I have to add another foreign key to the Address
table.

My concerns about saveAll() ... hmmm ... the "automagic" setting of
the foreign key. But I think that should be no problem. I just have to
call the saveAll() method of the model which defines the hasOne, i
think ... have to try this.

Regards, Christoph
--~--~---------~--~----~------------~-------~--~----~
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