rails/rails — pull request #17306 by pabloh (2014-10-18 00:39:40+00:00)
Title: Use each_with_object instead of inject

Replace use of `inject` with `each_with_object` making the code shorter and a easier to read