Missing information: 1. A litle background about what are you trying to do. 2. The code you are using to define the models. 3. How are you calling the models. 4. The SQL that is beign generated. 5. The version of cake you are using.
On Tue, Apr 1, 2008 at 12:11 PM, rob5408 <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
