rails/rails — pull request #7510 by vredniy (2012-09-03 08:27:10+00:00)
Title: request.xhr? should return boolean value instead of Int

I've just converted to boolean value

request.xhr?
=> 0`