Hello,
using Cake 1.2 release, counterCache variable seems to not working.
Counter field just is not updating.
I have model Topic:
var $belongsTo = array(
'Project' => array('className' => 'Project',
'foreignKey' => 'project_id',
'conditions' => '',
'fields' => '',
'order' => '',
'counterCache' => 'topic_count',
// OR 'counterCache' => true,
),
And I have a field in Project model called "topic_count". Everything
looks okay but doesn't work.
Any ideas?
S.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---