skip_before_action :verify_authenticity_token, only: [:controller_method, ...]
<%= hidden_field_tag :authenticity_token, form_authenticity_token %> Add this to your form