Tutorials
Kamal's missing tutorial – how to deploy a Rails 8 app with Postgres to your VPS
Last updated: Jan 2026. Now fully updated for Rails 8.1+ and Kamal 2.8+!
Rails 8 is out. And with it Kamal 2, the new default way of deploying Rails apps.
For those unfamiliar, Kamal is a tool that puts your Rails app in a Docker container, whic...
Ruby Skills: Teaching Claude Code About Ruby's Tooling And Ecosystem - st0012.dev
Eventually you add something like Use chruby 4.0.0 to run Ruby commands in either the project or your user-level CLAUDE.md.
While this is frustrating, I don’t blame Claude. Ruby has at least seven version managers - rbenv, chruby, rvm, asdf, mise...
Killing IDORs in Rails Applications: Make the Database Say "No" By Default
Rails is great at making the happy path simple. You need a record, you write Model.find(params[:id]). You need an authorization check, you add a line under it. The code reads well, it feels clean, it passes review, and it's also the reason why per...
Implementing OAuth in Hotwire Native apps with Bridge Components — Mike Dalton
OAuth is a common technique for registering and authenticating users on web and mobile apps. Many interactions in a Hotwire-based Rails app work without requiring native code but that’s not the case for OAuth.
Hotwire Native uses embedded web vie...
Simple Tailwind CSS 4 Setup for Jekyll - Andy Croll
Simple Tailwind CSS 4 Setup for Jekyll
Tailwind CSS 4 changed how configuration works. The JavaScript config file has been replaced by CSS-based configuration using @theme directives and uses the tailwind CLI to shake down the generated tailwind c...
Supercharge Your Claude Code Workflow: Running Multiple AI Sessions in Parallel with Git Worktrees
Speed up your AI-assisted development by running multiple Claude Code sessions simultaneously. Git worktrees with automatic port and database isolation.If you're using Claude Code for software development, you've probably hit this wall: you want t...
Getting Started With Vite on Rails - FastRuby.io | Rails Upgrade Service
A practical guide to setting up Vite in your Rails app for faster Javascript development. Includes step by step instructions, tips, and real-world examples.A few months ago, we were working on a Rails 7 app using Webpack 5. One of the main problem...
Building Smart Retry Strategies in Rails with Error-Aware Delays | Code With Rails
Use the new retry_on error argument to build intelligent retry strategies that respect rate limits, handle transient failures, and fail fast on unrecoverable errors.
A recent Rails change lets your job retry logic inspect the actual error that occ...