• A
    Ensure sum honors distinct on has_many through · 566f1fd0
    Aaron Wortham 提交于
    When using a has_many through relation and then summing an attribute
    the distinct was not being used. This will ensure that when summing
    an attribute, the number is only used once when distinct has been used.
    566f1fd0
has_many_through_associations_test.rb 43.2 KB