authenticity_token in rails 3.0.5 and data-remote links with put oder delete method #51

fredv opened this Issue Mar 24, 2011 · 1 comment


None yet
2 participants

fredv commented Mar 24, 2011

Hi there,

thanks for the great gem!

In rails.js, line 35 is missing the csrf_token as param. I stumbled upon this issue recently and am using the latest released gem. This only seems to occur if the dataType is set to 'script' ... 'text/xml' works fine.

var data ='form') ? el.serializeArray() : csrf_param+"="+csrf_token;



indirect commented May 11, 2011

The 1.0.1 gem is updated with the latest rails.js. Thanks for the report!

indirect closed this May 11, 2011

@indirect indirect pushed a commit that referenced this issue May 29, 2012

@jeremy jeremy Merge pull request #51 from joliss/jquery-ui-doc
Recommend jquery-ui-rails gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment