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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
try to add :method=>:get to your ajax rails helper... tom Joshua Partogi wrote:> 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 > > >-- ==============================================================================Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz ===============================================================================
try using Jrails plugin (http://github.com/aaronchi/jrails/tree/ master) On May 7, 5:25 am, Joshua Partogi <joshua.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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