-
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 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…
-
Getting Started with Rails 7 Episode 21: Upgrades, Bug Fixes, and Tweaks
This is the 21st video in the Getting Started with Rails 7 series. In this video Mike upgrades to Ruby 3.1.0 and Rails 7.0.1. After the upgrade, he demonstrates the debugger command, makes some changes to get the browser tests to work with basic authentication without changing the requirements, converts the link_to helper to a…
-
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:…
-
Getting Started with Rails 7 Episode 13: Create Comments for an Article
This is the 13th video in the Getting Started with Rails 7 series. In this video Mike generates the CommentsController and adds a nested resource form to the articles show view. Then he updates the app with functionality for creating and displaying comments. This video covers: The code for this series is open source and…
-
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 2: Setup Git and Create the First Controller
This is the 2nd video in the Getting Started with Rails 7 series. In this video Mike sets up Git with the GitHub remote, creates the initial commit, generates the ArticlesController, configures routing and writes the first test for the application. This video covers: 00:00:10 Introduction 00:00:39 Create initial commit and push to remote before…