Use contain: $this->paginate = array( 'Post' => array( 'limit' => 2, 'page' => 1, 'order' => array('Post.created' => 'desc'), 'conditions' => array('Post.category_id' => $id), 'contain'=>array() // ) ); $this->set('posts', $this->paginate('Post'));
Or set recursive = -1 on your models so by default it only ever pulls the current model's data and you then use contain to include only the data you want. HTH, Paul. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php