Open tribalvibes opened 14 years ago
Truth be told, because that was part of a monkey-patch for Ruby 1.6, I just commented out the whole monkey patch in my fork (rubyjedi-soap4r). I'll probably remove it in a later revision.
Sounds right. Took some head scratching to track it down as it was causing plugin loading which depends on active_support Enumerable#sum to bonk in a rails app.
line 323 unless Enumerable.instance_methods.include?('inject') should be :inject
As is it replaces Enumerable.inject, it stomps on the ruby 1.9 behavior which should be [].inject => nil rather than Argument Error (0 for 1)