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.
As an application grows in popularity and usage you'll need to scale the application to support your new users and their data. One way in which your application may need to scale is on the database level. In this episode, we look at reading from a replica database while writing to a primary database. We also look at structuring our application top support multiple databases; each containing their own schema.