There already is a ticket for what he's talking about:
https://trac.cakephp.org/ticket/980
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Sure, I only meant that the first model contains a fair bit of
information which isn't really related to that model. If you start
altering the other related models (adding or removing associations for
example) you need to go back and change the first model too.
Mind you, I'm doing this in a
I tried to do something similar using unbindModel on all the
associations of the other models associated.
Probably not the best way to go about it as it has created a lot of
dependecies in the first model.
It would be nice to set the level of recursion in the association.
I would open a ticket at http://trac.cakephp.org and explain the benefits
On 10/15/06, johnpfisk [EMAIL PROTECTED] wrote:
I tried to do something similar using unbindModel on all the
associations of the other models associated.
Probably not the best way to go about it as it has created a
You should be able to do this with unbindModel (and bindModel if you
want to add associations). Set a high $recursive level, but just
remove the unwanted assocations.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Wow, that's a really good question. It'll make the array resulting from
the findAll a lot easier to manage, and it'll probably be a lot more
efficient as far as the server's concerned. Can you post your models,
so we can understand more?
--~--~-~--~~~---~--~~
You