On May 4, 2007, at 10:17 AM, [EMAIL PROTECTED] wrote:

>
> Sometimes you'd like a single common model to be able to belong to
> multiple other models: for example, an Address could belong to a
> Person or a Company.  Rails has Polymorphic Associations to handle
> this:
>
> http://wiki.rubyonrails.org/rails/pages/PolymorphicAssociations
>
> Does CakePHP have an easy way to handle these situations?

How does this differ from just assigning:

Address belongsTo Person
Address belongsTo Company

?

-- John

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to