Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.63 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.63 KB

Turbo Rails

Turbo Rails is a fantastic tutorial for learning Hotwire. I often found myself returning to it to refresh my knowledge. However, the absence of source code makes it challenging for me to advance to the later chapters. So I spent a couple of days following the tutorial and reproduced the Quote Editor app.

Screen Shot 2023-12-25 at 12 20 47 pm

If you find this repo useful, please consider sponsoring the original author.

Setup

bundle install
rails s

Tests

rails test test/system/quotes_test.rb
rails test:all

How to sign into the app

Logins can be found in test/fixtures/users.yml

Screenshot 2024-07-24 at 11 19 04 AM

Turbo Morph

Turbo Morph is a new feature in Rails 8. It offers more rapid development time, but its responsiveness is slower than Turbo Frame and Turbo Stream. Once the author has added the new content, I'll be updating this repo as well.

Screenshot 2024-07-24 at 10 55 22 AM Screenshot 2024-07-24 at 11 26 19 AM

Other Hotwire learning resources

https://blog.kiprosh.com/broadcasting-your-turbo-streams-as-you-want-them-in-rails-7/