fix broken tests on Rails 3.2.13 with Ruby 1.8 (#12399, #12375)
Authored by: tmaruyama 2013-03-19
Parent: [r11649]
Child: [r11651]