-
Getting Started with Rails 7 Episode 27: Add a Stimulus Controller for Client-Side Interaction
This is the 27th video in the Getting Started with Rails 7 series. In this video Mike adds an element with a Stimulus controller to allow for client-side interactions in the web application. Stimulus comes prepackaged in a new Rails application by default and integrates well with the “Rails Way” of building an application. Because…
-
Getting Started with Rails 7 Episode 25: Set Up a Comments Mailer
This is the 25th video in the Getting Started with Rails 7 series. In this video Mike generates and implements a mailer that sends an email when a comment is created or destroyed and works through testing the mailer and making sure it doesn’t break the browser tests. There are a couple of “gotchas” illustrated…
-
Getting Started with Rails 7 Episode 24: Use ActionText for Rich Text Content
This is the 24th video in the Getting Started with Rails 7 series. In this video Mike installs Rails ActionText. By default, this uses the Trix editor and Rails ActiveStorage to allow for “what I see is what I get” (WISIWIG) editing and display of a field. Mike installs the prerequisites, installs ActionText, and runs…
-
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 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…