Forum: Ruby on Rails Simulating Ajax XHR

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
53a1f0aba6f0489d49f5e6fc3df323fa?d=identicon&s=25 Robert James (robertjames)
on 2007-05-01 03:57
(Received via mailing list)
Is there anyway to modify a URL to pretend to be XHR (for debugging) -
the same way you can add .xml or .js to debug those?
588ab1c0a5610a7e160a3b101abb91e6?d=identicon&s=25 MichaelLatta (Guest)
on 2007-05-01 05:30
(Received via mailing list)
There is a header attribute which is the only way that rails knows it
was XHR.   I forget the attribute, but it should be in Ajax on Rails.

This topic is locked and can not be replied to.