rails/rails — pull request #8587 by gsphanikumar (2012-12-22 16:33:46+00:00)
Title: Unit test for the issue 8178

Test for the issue https://github.com/rails/rails/issues/8178
Please review it and let me know if any changes are required.