Invalid Authenticity Token Error in Rails
Got the following error today when trying to submit a form in Ruby on Rails:
ActionController::InvalidAuthenticityToken
The solution turned out to be as easy as inserting
<%= token_tag %>
into my form.
[via Nabble]

