CakePHP counterCache

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-03-22T10:32:26Z Indexed on 2010/03/22 14:41 UTC
Read the original article Hit count: 527

Filed under:
|

I'm using counterCache to track the number of chapters that have been posted to their related stories.

This all works fine, apart from the fact that when the chapter_count field in the database gets updated, the modified field for that record does not.

Is there any way that I can set Cake to automatically update the modified field when the counterCache functionality runs?

Thank you.

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about model