This project is archived and is in readonly mode.

Changeset [819c347f436f54acea5821289c6340da863bf138] by Marc-Andre Lafortune

August 9th, 2009 @ 01:51 AM

Enumerable#sum now works will all enumerables, even if they don't respond to :size

[#2489 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Marc-Andre Lafortune

  • M activesupport/lib/active_support/core_ext/enumerable.rb
  • M activesupport/test/core_ext/enumerable_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>