Arig

Joined

Subscriber
610 Experience
6 Lessons Completed
0 Questions Solved

Activity

I guess, I keep coming back to the idea of convention and whether it is preferable to set this up in a template and controller or to rely on the rails magic and do this in the model as is suggested in your other video (https://gorails.com/episodes/hotwire-rails). When does it go in a template vs. the model? Is it possible to update multiple turbo-frames if you make these calls from the model?

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

© 2023 GoRails, LLC. All rights reserved.