There are multiple way to do this.. unbindModel is a very easy, just add right
before paginate code :
$this->Topic->unbindModel(array('belongsTo' => array('Category'), false));
http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
Andras Kende
http://www.kende.com
On Nov 10, 2011, at 10:39 PM, thom wrote:
> I'm playing with Model::paginate() and would like to ignore belongsTo table
> relationship. How could I make it? Is that possible?
>
> Thank you.
>
> --
> Regards,,,
> thom
> http://mynameisthom.blogspot.com
>
>
> --
> 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