rails/rails — pull request #17540 by rwz (2014-11-06 16:43:17+00:00)
Title: Add `Array#to_proc` method for hash access.

Here's a blog post describing how it could be used: http://thepugautomatic.com/2014/11/array-to-proc-for-hash-access/

I believe it's a valuable addition that improves developer happiness and code readability.