I followed the Bakery page on setting up my db and models for the
Polymorphic Behavior and it looks like I'm almost there, but the rest
of the db fields for my associated model aren't being included. I'm
seeing a return like this...
Array
(
[Person] => Array
(
[id] => 4045
[birthdate] => 1978-04-11
[firstname] => Donald
[lastname] => Marks
[class] => CoachRating
[foreign_id] => 8
)
[CoachRating] => Array
(
[id] => 8
[display_field] => 8
)
)
but 'display_field' isn't a field in CoachRating table and there's two
fields omitted. Maybe I'm trying to use this behavior when another
would be more logical. Thanks, rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---