Use esbuild to bundle your JavaScript, then deliver it via the asset pipeline in Rails. This gem provides an installer to get you going with esbuild in a new Rails application.
CSS Bundling for Rails provides a new way for importing and managing our CSS assets in Rails Applications, but it does have some challenges around a few libraries (specifically font awesome and a few others) which we'll look at in this episode.
Optimistic Locking is a feature to prevent collision when two users are editing the same record. In this episode, we look at adding this feature into a Rails 7 application that is using Turbo.
In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance.