Hi all,
Today I've found that in my application when I try to edit one of my
models after save result is not that I expect.
My model has 4 hasAndBelongsToMany associations. When my model belongs
to all of them and while editing it I remove one of the associations to
other model there is a big me
[EMAIL PROTECTED] wrote:
> with debug set to zero doesn't CakePHP cache the model views for 24
> hours at a time? So, once you went live it is going to cache the model
> for 24 hours at a time. And if you don't need those models then why
> are you making associations for them?
>
If you are bui
I've found workaround. Remove relations from Model class and bind them
in you actions via bindModel function.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to ca
Thank you nate for your help.
I think that I have to work on Cake.
Regards,
Krzysiek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
So how deep this relation goes? if I've Model A related to B and C,
model B to D, C to E and E to F all models are required. But if I don't
need all of them and only A, B, C how to do this?
--~--~-~--~~~---~--~~
You received this message because you are subscrib
nate wrote:
> All model files are loaded, but only the required model classes are
> constructed. Besides that, this is typically the one of the
> lower-overhead operations in the request. The best thing to focus on
> are your views and view caching.
I added to AppModel class this function