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.

matthewgarysmith (at gmail)'s latest activity

Friday, August 29 2008
937 size method ignores "group by" on has_many was created in Ruby on Rails
  • matthewgarysmith (at gmail)
    matthewgarysmith (at gmail) created the ticket at 9:26 PM

    A has_many that uses the :group option, returns invalid results for the size method.

    
    class Book < ActiveRecord::Base
      has_many :reviews
      has_many :reviewer...