Hi Well, sorry, it's me that don't use my sense correctly :). You're right, that's the way it should with the arrays (can't believe myself, wrong code, twice!). But that's assuming you have actual two classes to associate, that is Author, and AssistantAuthor. Check Larry's post.
If you had mainauthor_id and assistantauthor_id in books' table that means your association is not as what we discussed before. It should be Mainauthor hasOne Book, and Assistantauthor hasOne Book (or hasMany?). In the Book model you may use belongsTo Mainauthor and Assistantauthor. The code? Looks like there's a bit something about using a class for multiple association that I don't understand, yet :). Hope I'm not taking this wrong, again! Uwie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---