How I set up offsite backups for a Rails app
A backup that fails silently is worse than no backup. Here's how I pull encrypted, undeletable copies of a Rails app to a second provider.
Sharing the joy of building with Ruby on Rails.
Latest article
Use CLAUDE_CONFIG_DIR and direnv to run Claude Code on a separate account per project, so the right login follows the directory you're in.
A backup that fails silently is worse than no backup. Here's how I pull encrypted, undeletable copies of a Rails app to a second provider.
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
Implement full-text search in Rails using SQLite FTS5: prefix matching, BM25 ranking, polymorphic indexing. All without external services.
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.
Learn how Rails 7.1's generates_token_for creates stateless, self-invalidating tokens for password resets and email verification. No database columns needed.
Speed up your AI-assisted development by running multiple Claude Code sessions simultaneously. Git worktrees with automatic port and database isolation.
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.
Learn how to block targeted malicious requests in a Rails app deployed with Kamal, using a lightweight controller concern.
Learn how to secure sensitive Rails routes using session-aware constraints and role-based access at the routing layer.
Let's discuss how I can help with your next project.
Or email me directly at [email protected]
With care, Davy Cardinaal