RainChen
Not a member
RainChen's latest activity
Thursday, September 10 2009
1108
caching bugs in ActiveRecord#create and associations
was updated
in Ruby on Rails
-
- Tag changed from create, database-caching, find_or_create to counter_cache, create, database-caching, find_or_create
I still have this issue today (Rails version 2.3.2).
The test code will explain what's wrong.
class Page < ActiveRecord::Base acts_as_tree :counter_cache => ...