ruby - Rails app first form submit after application restart -
The application "ActionController :: InvalidAuthenticityToken" after restarting a Rail app in the production environment and submitting the entry form for the first time "Error"
Everything works fine after submitting.
Only application and controller parameters are used for the first request: {"action" => "Create", "controller" => "user_sessions"}. All form parameters including authentication tokens do not appear, which is the error The message will be deemed. By submitting the request of the post from the client on the basis of that form, I confirmed that the form has been submitted correctly (all the parameters are posted correctly)
Setup Summary: Rail 2.3.3, Apache 2, Monarch Cluster, Default Cookie Session Store
The local development environment is not the same problem.
Comments
Post a Comment