forms - Rails 3 Authenticity Token -


Do anyone know how to manage authenticity tokens on Ruby 3? All Random Javascript Ruby is shown on Railway 3 articles on how HTMLMax data features are used. I do not see the authenticity token anywhere.

You must put it in the body of your layout file:

  & Lt;% = csrf_meta_tag% & gt;  

& mdash; Which outputs:

  & lt; Meta name = "csrf-token" content = "& lt;% = form_authenticity_token%> & gt; / & Gt; & Lt; Meta name = "csrf-param" content = "authentication_token" />  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -