Hello,
I'm having an issue integrating flex with ruby on rails. I get this error:
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
<internal:prelude>:8:in `synchronize'
/Users/tammam56/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/tammam56/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/tammam56/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
I believe Rails automatically generate an AuthenticityToken when using "View" components that generates the HTML as I notice in the console AuthenticityToken gets passed with every request. But When I'm using Flex as my client interface instead of HTML generated by view how do I get/generate this AuthenticityToken and store it in Flex.
Thanks,
Tam