aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAaron Wortham <wortham.aaron@gmail.com>2017-08-09 10:24:13 -0700
committerAaron Wortham <wortham.aaron@gmail.com>2017-08-14 13:22:59 -0700
commit566f1fd068711dfe557bef63406f8dd6d41d473d (patch)
treeb705a048d38792af7027821f4046280cc4c62185 /.github
parent3cfadd5fa2306ec1f382343220805546e1444cd8 (diff)
downloadrails-566f1fd068711dfe557bef63406f8dd6d41d473d.tar.gz
rails-566f1fd068711dfe557bef63406f8dd6d41d473d.tar.bz2
rails-566f1fd068711dfe557bef63406f8dd6d41d473d.zip
Ensure sum honors distinct on has_many through
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.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions