On Wed, Apr 2, 2008 at 4:55 PM, bmopro <[EMAIL PROTECTED]> wrote: > > When i use the edit action in my user model i have the following to > grab the users info from the table... > $this->User->findById($id) > This returns an array that is HUGE! > It includes all my validation contained in my User model, > and all of the associations. Obviously i just need the users info to > edit, i don't need all of the asociations. > I have looked at trying to use recursive but can't get it to work.
What do you mean "looked at trying to use recursive but can't get it to work". $this->User->recursive = -1; $this->User->findById($id); -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
