Yeah, you are right. I was just giving the 'quick and dirty' solution ;-) 

-flosky



WebbedIT <[email protected]> schrieb:

@flosky
> Set up the relationships in the posts and users models and set the recursion 
> to 2 when you do the find.

No! Please don't use recursive = 2, it will pull so much unneeded deep
data. Please take Jeremy's advice and use Containable, it is so easy
and so powerful!

His post above shows how easy it is and Cake only returns the data you
specifically ask for.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to