nkryptic
Not a member
nkryptic's latest activity
Tuesday, March 10 2009
2189
count breaks sqlite has_many through association collection with named scope
was updated
in Ruby on Rails
-
nkryptic commented at 12:14 AMBTW, I've worked-around the issue by passing :select => "*" to the count method for now:
group.members.publishers.count(:select => "*") -
nkryptic created the ticket at 12:12 AMIt appears that commit 6543426c73 causes a count query to break when it is called on a has_many through association collection with a named scope:
class Memb...