rails/rails — pull request #12799 by arunagw (2013-11-07 19:06:01+00:00)
Title: Don't call sub!

It might get return nil in some cases.

It was added here

4d15661d6c46c86a62ee1fc358f4b3ef9dd9f2ea