Yes, have Album belongsTo Defaultphoto. Defaultphoto is just an alias for Photo - this way you will end up with Photo_Id in the Album table like Goranche suggested.... and no additional hassles
HTH Tarique On Jan 19, 2008 5:11 PM, Jaime <[EMAIL PROTECTED]> wrote: > > Thank you for the feedback. The beforeSave() trick could be one > possibilty, but in this particular case it seems that the > defaultPhotoId suggested by Goranche is the easiest. > -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
