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