[Rails] Re: ActionController::InvalidAuthenticityToken & :before

2009-06-05 Thread Mk 27
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

[Rails] Re: ActionController::InvalidAuthenticityToken & :before

2009-06-05 Thread Sandip Ransing
In your controller add skip_before_filter :verify_authenticity_token Hope this will help ! Sandip R~ -- Ruby on Rails Developer http://sandip.sosblog.com http://funonrails.wordpress.com www.joshsoftware.com --~--~-~--~~~---~--~~ You received this message because

[Rails] Re: ActionController::InvalidAuthenticityToken & :before

2009-06-04 Thread Mk 27
I suppose it was not a good idea to replace the form with "removeChild" :before the form is submitted... -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Tal

[Rails] Re: ActionController::InvalidAuthenticityToken & :before

2009-06-04 Thread Mk 27
Here are more details from that error: Processing DocdirController#search (for 127.0.0.1 at 2009-06-04 11:34:39) [POST] ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): :8:in `synchronize' /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `servi