Hi Fred, No, the authenticity_token isn't getting through at all, and I accept that the code probably should have never worked as it stands. That said, I can't for the life of me figure out how to get the auth token to be submitted correctly using the XMLHttpRequest object. We have the token floating around (we use it in other jQuery AJAX calls), but because this particular code is being called during unload, we need it to be synchronous, and the jQuery async:false doesn't appear to work.
Thanks Simon On Wed, 03 Dec 2008 14:12:29 +0900, Frederick Cheung <[EMAIL PROTECTED]> wrote: > > Well until 2.2.2 text/plain requests weren't checked at all (this was > a bug) so it's entirely possible that your code has been broken from > day 1. If you look at the logs does it look like the token was sent > properly? > > Fred --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

