Hi, I''ve added a counter cache column to a model. When I load my models through fixtures, it doesn''t seem to affect the counter. regards, C.
Frederick Cheung
2009-May-25 09:25 UTC
Re: counter cache column not updated by fixtures load
On May 25, 9:25 am, coriordan <corior...-lCWvPHTwFq8@public.gmane.org> wrote:> Hi, > > I''ve added a counter cache column to a model. When I load my models > through fixtures, it doesn''t seem to affect the counter. >That''s not handled magically for you (mainly because the counter cache only gets updated via callbacks whereas fixtures are just plopped straight in the database). Fred