rails/rails — pull request #5163 by kennyj (2012-02-25 11:22:51+00:00)
Title: Remove wrong and redundant code.

the removed code was introduced by me. sorry ;-)
After the original code was merged, @exviva commented on this issue (thanks!).

I fixed wrong, and removed redundant code.
Please see https://github.com/rails/rails/pull/5119