I am facing same kind of issue here.

I was working with counterCache - Cache your count().
In principle it work like a cake :)
But I have the following situation ...
Taking the same example given in the manual , what happens when I am
not deleting the image but only changing the Album.
Let's say the image is located in album_id 1 and i moved it to
album_id 2.
I observed the tables and saw that the album_count is increasing in
image_count column for album_id=2 but not decreasing in album_id=1.

As per the manual it says the count is decreased when the image is
deleted, but in the given condition I am not deleting the image but
changing it's location.

I am not sure if this facilty is available for counterCache - Cache
your count(), if yes then how?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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