Pedro Costa

Joined

860 Experience
8 Lessons Completed
0 Questions Solved

Activity

Hi there!

I watched this video about nested forms with Vue.js. https://gorails.com/episodes/using-vuejs-for-nested-forms-part-2?autoplay=1

How do I handle rails flash messages after Vue.js submit method and Turbolinks.visit?

Hey Travis.

I think you can pass the data-remote="true" paramater, like this:

https://stackoverflow.com/questions/10255198/is-there-a-way-to-submit-ajax-json-requests-with-simple-form-for-rails

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.