rails/rails — pull request #16653 by adomokos (2014-08-23 03:47:20+00:00)
Title: Using the more elegant each_with_object instead of each

A tiny change, but this way the accumulator does not need to be declared and initialized separate from the code block that populates it.