Ad
  • Custom User Avatar

    Didn't catch this when I wrote it, but the += in the body of the map.with_index is unnecessary -- + is all that's required to replace the current value in the row with the updated sum.