Learn Rails 8 by Building Study Flow, Part 5: Hotwire, Turbo Frames and Turbo Streams

ruby dev.to

In Part 4 we modeled plans, topics and study sessions. It works, but every click is a full page load. Add a topic, wait for the reload, scroll back to where you were. Rails 8 ships with Hotwire, a set of tools that make pages update in place while you keep writing Ruby and ERB. In this post we use two of them, Turbo Frames and Turbo Streams, to add and edit topics and run study sessions without leaving the page. What you'll learn What Turbo Drive already does for you (for free) Tur

Read Full Tutorial open_in_new
arrow_back Back to Tutorials