# call-seq:
  #   StatisticsUtils.merge_sum(hash1, hash2, ...) -> merged_hash
  #
...

Ruby Total the values in multipl...

by Trejkaz, July 08, 2009 00:54, 2 refactorings, tagged with short, hash, sum, merge

This is obviously not very ...

42b570f6f4312a872c2fc671e3ddc82b Talk
#players = select distinct(player) from actions;
    players = repository(:default).adapter.query('select distinct(player) from actions')

...

Ruby getting 20-100+ sums in one go

by feydr.myopenid.com, February 10, 2009 19:13, 2 refactorings, tagged with sql, ruby, iteratate, sum

I have an actions table tha...

7c3536f0ffdc51a02ec2c9d1d72165d5 Talk