rails/rails — pull request #5580 by vertis (2012-03-26 04:37:02+00:00)
Title: Improve performance of xhr

As mentioned in #5329 and 3756a3fdfe8d339a53bf347487342f93fd9e1edb

This change is needed to improve the preformance of `xhr?` in rubinius and jruby.