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.

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
    nkryptic commented at 12:14 AM

    BTW, I've worked-around the issue by passing :select => "*" to the count method for now:

    
    group.members.publishers.count(:select => "*")
    
  • nkryptic
    nkryptic created the ticket at 12:12 AM

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