Here is where I am at with this so far ...
I decied to try to change my code to be all javascript to get around the strange problem I was having, so I followed the advice from this site: http://david-burger.blogspot.com/2008/01/rails-forgery-protection-csrf-and-ajax.html Here is what my code looks like now which seems to work. I think I am using jquery at this point. I've commented out the old code: function update_server(info) { <%#= remote_function(:url => {:action => 'resize_field'}, :with => '{col:info.col,width:info.width}') %> $.ajax({data: {col:info.col,width:info.width,authenticity_token:FORM_AUTH_TOKEN}, dataType:'script', type:'post', url:'/shgrid/resize_field'}) } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

