Rails plain ajax


#1

Dear all,
Does anybody know a good reference for sending ajax request to rails
without
using the rails ajax helper? I want to use other framework, namely
jQuery.
Because without using the ajax helper from rails I encounter an
authenticity
error from rails.

Thank you very much in advance,


If you can’t believe in God the chances are your God is too small.

Read my blog: http://joshuajava.wordpress.com/
Follow us on twitter: http://twitter.com/scrum8


#2

try to add :method=>:get to your ajax rails helper…

tom

Joshua P. wrote:

If you can’t believe in God the chances are your God is too small.

Read my blog: http://joshuajava.wordpress.com/
Follow us on twitter: http://twitter.com/scrum8

Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache

www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz


#3

try using Jrails plugin (http://github.com/aaronchi/jrails/tree/
master)