We look at 4 different ways to add Bootstrap v5 to our Rails application. Depending on your application's direction, you may choose the appropriate route; Webpacker, the Bootstrap gem, CDN or Hotwire + yarn.
It's never a bad thing to understand how authentication works in a Ruby on Rails application without reaching for a gem. In this episode, we look at how authentication works in a modern Ruby on Rails application and some reasons why we shouldn't roll our own solution.
Routing in Rails is small but an important part of our applications. The Rails router recognizes URLs and dispatches them to a controller's action, or to a Rack application. It can also generate paths and URLs, avoiding the need to hardcode strings in your views.