Mike Lapshin
Executive Developer · Not a member
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 commented at 10:12 AMJust noticed that this bug appears in SQLite too. BTW, this code works fine in Rails 2.3.1.
-
Mike Lapshin created the ticket at 10:10 AMThis 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...