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.

Mike Lapshin's latest activity

Monday, March 16 2009
2250 ActiveRecord's "count" method doesn't work with has_many :through and MySQL was updated in Ruby on Rails
  • Mike Lapshin
    Mike Lapshin commented at 10:12 AM

    Just noticed that this bug appears in SQLite too. BTW, this code works fine in Rails 2.3.1.

  • Mike Lapshin
    Mike Lapshin created the ticket at 10:10 AM

    This bug appears in Rails 2.3.2 gem or Rails HEAD. When you trying to get counts of has_many :through association, filtered by named_scope, you get ActiveRecord...