-
Getting Started with Rails 7 Episode 22: Broadcast Comment Changes to the Article with Turbo
This is the 22nd video in the Getting Started with Rails 7 series. In this video Mike uses Turbo Streams from the Hotwire front-end framework (included by default in new Rails applications) to broadcast changes (create, update, destroy) to the collection of comments for an article in real-time. In order for the Turbo broadcast to…
-
Codecast: Getting Started with Rails 7 Episode 20: Basic Auth Part 2 and Finish the Guide
This is the 20th video in the Getting Started with Rails 7 series. In this video Mike continues where he left off in video 19. He comes up with an admittedly hacky solution to get the existing system tests passing, by changing the articles show action to require basic auth and visiting the page twice.…
-
Getting Started with Rails 7 Episode 19: Basic Auth Part 1
This is the 19th video in the Getting Started with Rails 7 series. In this video Mike starts the section on basic authentication and gets it working. Then he tries and does not (yet) succeed in getting the browser tests working with basic auth. This video covers: Notes: The code for this series is open…
-
Getting Started with Rails 7 Episode 18: Destroy Comments with Turbo
This is the 18th video in the Getting Started with Rails 7 series. In this video Mike adds the ability to delete comments. Similar to article deletion, he needs to make sure the Turbo confirm and :see_other status are configured correctly. In order to test this he uses browser-driven Rails system tests. This video covers:…
-
Codecast: Getting Started with Rails 7 Episode 11: Use a Scaffold Generator to Quickly Produce a Resource
“Do you mean to tell me that we could have done all the work from the previous ten videos in half an hour?!” Yes. (But the purpose of the Getting Started with Rails guide is education, so it slowed things down, added them in incrementally, and explained them.) This is the 11th video in the…
-
Getting Started with Rails 7 Episode 10: Destroy an Article and Get it Working with Turbo
This is the 10th video in the Getting Started with Rails 7 series. In this video Mike follows the Getting Started with Rails guide to implement the destroy action for Articles, but it doesn’t work as intended (even though the controller tests are passing). He then tracks down some recent changes to the Markdown for…
-
Ruby on Rails 7 is Out!
On December 15, 2021 Ruby on Rails released version 7.0.0 of its web application framework. However, this came out earlier than I anticipated, so I have re-prioritized everything at Stateless Code to get the new Getting Started With Rails 7 series published as quickly as possible. Now is the Time to Learn Ruby on Rails…