Notes to self

Notes to self.

Latest

Avoiding environment conflicts with Kamal and Dotenv

We often use Dotenv in Rails for managing environment variables in development. But both Kamal and Dotenv works with .env files by default. Let’s see how to solve this conflict.

Introduction to Minitest Mocks

Test doubles likes mocks and stubs can help us with isolating code under test with the rest of the system. Here’s how to mock in Minitest.

A very first update to Kamal Handbook

Kamal Handbook gets updated for Kamal 1.7.3

Understanding Kamal healthcheck settings

Here’s what you should know about Kamal healthchecks, namely the Docker healthcheck and the new Kamal 1.6 web barrier.

Implementing dark mode with Tailwind and Stimulus

About to implement a dark mode into your Rails app? Here’s one way using Tailwind and Stimulus.

by Josef Strzibny
RSS