costruisco tag form da me, quando ho posto il modulo al server mi dà un errore di InvalidAuthenticityToken, quindi voglio sapere come inserirlo nel mio in situazione
come generare AuthenticityToken su rotaie
ActionController::InvalidAuthenticityToken in CropsController#update
ActionController::InvalidAuthenticityToken
Rails.root: /home/mlzboy/my/crop2
Application Trace | Framework Trace | Full Trace
Grazie, forse un modo più Rails idiomatica sarebbe '' '<% = hidden_field_tag: authenticity_token, form_authenticity_token%> '' ' – luopio