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.

Brian Moore's latest activity

Wednesday, December 16 2009
3585 Count query with :include generates incorrect SQL was created in Ruby on Rails
  • Brian Moore
    Brian Moore created the ticket at 7:58 PM

    Executing certain ActiveRecord count queries with an :include option provided generates incorrect SQL. For example:

    >> Thing.count('widgets.bar_id', :distinct ...