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.

Alex Tomlins's latest activity

Thursday, September 02 2010
2824 [Patch] has_many :through doesn't update counter_cache on join model correctly. was updated in Ruby on Rails
  • Alex Tomlins
    • Title changed from [PATCH] Clean up "omg" comments to [Patch] has_many :through doesn't update counter_cache on join model correctly.
    • Assigned user set to Yehuda Katz (wycats)
    • Tag changed from 3, documentation, patch, review to rails 3, 2-3-stable, bug, bugmash, counter_cache, has_many_through, patch
    by Alex Tomlins at 9:07 AM

    Reverting Spam changes...

Thursday, August 19 2010
2824 [Patch] has_many :through doesn't update counter_cache on join model correctly. was updated in Ruby on Rails
  • Alex Tomlins
    Alex Tomlins commented at 3:34 PM

    Sure thing.

    I'll try to get onto that this evening (UK time)

Tuesday, June 29 2010
4132 named_scope gets applied to self-referential relations was updated in Ruby on Rails
  • Alex Tomlins
    • Importance changed from to Low
    by Alex Tomlins at 9:13 AM

    I've also run into this bug. It's not related to acts_as_tree, it seems to happen when calling destroy_all on a named_scope on an association.

    I've created a mi...

Tuesday, July 07 2009
2824 [Patch] has_many :through doesn't update counter_cache on join model correctly. was updated in Ruby on Rails
  • Alex Tomlins
    Alex Tomlins commented at 8:37 AM

    No problem. Patch attached.

Wednesday, June 24 2009
2824 [Patch] has_many :through doesn't update counter_cache on join model correctly. was updated in Ruby on Rails
  • Alex Tomlins
    Alex Tomlins commented at 9:49 AM

    Sorry, I didn't made it clear; that patch is against the 2-3-stable branch.

Monday, June 22 2009
2824 [Patch] has_many :through doesn't update counter_cache on join model correctly. was created in Ruby on Rails
  • Alex Tomlins
    Alex Tomlins created the ticket at 5:09 PM

    If you have a counter_cache on a join model used in a has_many :through association, when removing items from the association, the counter_cache doesn't get dec...