rails/rails — pull request #12435 by sikachu (2013-10-03 18:09:57+00:00)
Title: Port test from cf1904f to avoid future regression

Related issue: #11939, #12084

This is for `master`