Awesome! Thanks!

On Mar 22, 2:36 am, mscdex <[email protected]> wrote:
> On Mar 22, 12:04 am, Hernan <[email protected]> wrote:
>
> > Is there any way to tell which HATBM relationship to show and which not?
>
> Yup, use the Containable behavior in the Tag model. Then try something
> like:
> $tag = $this->Tag->find('first', array('conditions' => array('Tag.id'
> => 1), 'contain' => array('TagContent')));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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