Hotwire Modals with ZERO JAVASCRIPT

A really quick run-through creating modals with Hotwire (no javascript required) in Rails 6.1. This approach relies solely on Turbo Frames and doesn't require writing any stimulus JS controllers. Source code before: Source code after: --- Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks! You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to and use the code RRYOUTUBE for a discount!

Published: Oct 02, 2021

View my video on YouTube