All threads / User Interaction With Ember Discussion
Ask A Question

Notifications

You’re not receiving notifications from this thread.

User Interaction With Ember Discussion

Emmanuel LOUISY-GABRIEL ·

I think you meant 7:47 "pure client side code" ?

Emmanuel LOUISY-GABRIEL ·

amazing ajax made clean !

How would you recommend dealing with the error "Can't verify CSRF token authenticity"? I added "skip_before_filter :verify_authenticity_token" to the monsters controller so it works fine, but I know this is not the best long term solution. Thanks!

when you create rails project,you should use rails new project_name --api
it will not have verify_authenticity_token

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 68,326+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.