Ruby on Rails Blog

Sharing the joy of building with Ruby on Rails.

Earlier articles

Parallel Claude Code Sessions, Part 2

Part 2 of running parallel Claude Code sessions: worktrees managed outside the project, clean .localhost hostnames via a Traefik proxy, and no more sleeping Mac

Add search to Rails with SQLite FTS5

Implement full-text search in Rails using SQLite FTS5: prefix matching, BM25 ranking, polymorphic indexing. All without external services.

How `attr_accessor :method` Broke Rails' `try` Method

A Rails 5.1 upgrade caused SystemStackError in production payments. The root cause: a gem that overrides Object#method via attr_accessor, breaking try's respond_to? check and causing infinite recursion. Here's how we found it and fixed it with Ruby's safe navigation operator.

Stateless, Self-Invalidating Tokens in Rails

Learn how Rails 7.1's generates_token_for creates stateless, self-invalidating tokens for password resets and email verification. No database columns needed.

Claude Code + Tmux: How I got notifications working

Working with multiple Claude Code sessions in tmux? This guide shows how to configure tmux, Claude hooks, and iTerm2 to get notifications when Claude finishes or needs permission.

Ready to bring your idea to life?

Let's discuss how I can help with your next project.

Or email me directly at [email protected]

With care, Davy Cardinaal