ActionController::InvalidAuthenticityToken
skip_before_action :verify_authenticity_token, only: [:controller_method, ...]
invalid authenticity token rails
<%= hidden_field_tag :authenticity_token, form_authenticity_token %> Add this to your form
Source: stackoverflow.com
invalid authenticity token rails
<%= csrf_meta_tags %> Add this to your form
Source: stackoverflow.com