On May 25, 9:25 am, coriordan <[email protected]> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to