Patch job so that my Rails 2.3.16 app will work in Ruby 1.9.2