On Wednesday, January 11, 2012 1:29:39 PM UTC+7, OJ Tibi - @ojtibi wrote: > > Thiago, a HABTM join table by nature has "disposable" records as used by > CakePHP. For example, every time you rebuild how the Tags are linked to > Articles or vice-versa, the records from the `articles_tags` table that > correspond to entries from Articles and Tags are deleted, that's why we > shouldn't keep counters in the `articles_tags` table.
2.1 branch allows you to 'keepExisting' records of joined model. However, I have not looked into what are the effects related to counter cache. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
