Thursday, March 26, 2009

Re: Sluggable behaviour issue

I've also noticed this happen when you do a Model::find(); and the
recursive is high ($this->User->recursive = 2). If the returned
results are large enough, it will throw this as the array is too big.
In some cases i have had to set recursive to 0, then do a foreach loop
and get only the info i needed and attach it to the array to avoid
this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: