Use unbindModel(). If you are on 1.2 you may want to check Mariano's
bindable behavior (
http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model-bindings
)

HTH,
- Dardo Sordi.

On Feb 5, 2008 3:06 AM, Defranco <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> What is the best method on turning off temporally associations for a
> model on determined operations?
>
> I have a model that has too many associations and this is causing
> performance issues.
>
> If I could turn off certain associations for this model for specific
> finds cases that some association is not needed - it would be great.
>
> What is the best method to do that? using bindmodel() before find
> operation? or there is a more cleaner way to solve this?
>
> regards
>
> Erico
>
>
> >
>

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