Sandip Ransing wrote:
> In your controller add
> skip_before_filter :verify_authenticity_token
> 
> Hope this will help !

Thanks for that tidbit, but the problem was that the wait_message() 
function destroyed the content of the div with the form in it and 
replaced it with the message, S E A R C H I N G

Of course, the form is not yet submitted and it contained the auth token 
in a hidden field!  So the more is:  don't destroy the form in your 
:before callback.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to