Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

RainChen's latest activity

Thursday, September 10 2009
1108 caching bugs in ActiveRecord#create and associations was updated in Ruby on Rails
  • RainChen
    • Tag changed from create, database-caching, find_or_create to counter_cache, create, database-caching, find_or_create
    by RainChen at 10:00 AM

    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 => ...