jtescher/descriptive-statistics — pull request #3 by Janico (2012-10-25 06:46:37+00:00)
Title: Update to sum to mirror Enurmerable#sum, fixes issue in rails 3.2.2

This is a fix for the issue I raised earlier. It simply overwrites the sum method with the same code that the Enumerable#sum method in rails 3.2.2 uses.

Ive tested this (very very briefly) in 1.8.7 and 1.9.3 but haven't time to test it elsewhere so my apologies for that.

Hope this helps at any rate.