Setting up a Rails Engine with the TailwindCSS and Hotwire via Importmaps can be rather difficult. There's a lot of undocumented steps to take and it can be overwhelming to approach these problems. In this episode, we look at a step by step approach to both adding TailwindCSS and Turbo & Stimulus into a Rails Engine.
In this episode, we look at setting up our Campfire instance to be deployable with Kamal instead of the Once CLI. This has a few benefits over the standard deployment mechanism if you are going to be tweaking and making your own changes to the Campfire code. We'll also look at taking in the incoming changes from Once to rebase into our Kamal setup.
With Rails 7.1 came a bunch of new features around token generation and with this release, I've been working on a new authentication solution that provides the basic requirements of authentication out of the box, but also has advanced features like Passkeys that are easy to implement and use.
The provided ActiveRecord counter caching mechanism provides some great basic functionality, but quickly becomes insufficient if you need more complex totaling or summing of records. In this episode, we'll look at implementing the counter_culture gem to gain extra functionality.