Thanks this seems to do the job.. when i put it in my controller :D
but what does the recursive var stand for?

On Jul 2, 10:42 pm, phpjoy <[EMAIL PROTECTED]> wrote:
> did you try:
> $this->ModelName->recursive = 0;
> in the model?
>
> On Jul 1, 5:13 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > UnbindModel does also not seem to work :(
>
> >                 // Remove HABTM on tags and categories
> >                 $this->Article->unbindModel(array('hasAndBelongsToMany' =>
> > array('Tag', 'Category')));
> >                 // Find all articles
> >                 $this->set('articles',  $this->paginate('Article'));


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to