1. 20 6月, 2015 1 次提交
    • S
      Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is given · 7d14bd3f
      Sean Griffin 提交于
      This matches our behavior in other cases where useful enumerable methods
      might have a different definition in `Relation`. Wanting to actually
      enumerate over the records in this case is completely reasonable, and
      wanting `.sum` is reasonable for the same reason it is on `Enumerable`
      in the first place.
      7d14bd3f
  2. 19 6月, 2015 10 次提交
  3. 18 6月, 2015 12 次提交
  4. 17 6月, 2015 15 次提交
  5. 16 6月, 2015 2 次提交