david.dev
AI × Ruby on Rails
Latest Posts
Rails 8 Virtual Attributes Done Right
Master virtual attributes in Rails 8 for cleaner forms, computed values, and flexible APIs without polluting your database schema.
Rails 8 Health Checks That Work
Build production-ready health check endpoints that reveal system status without exposing sensitive data.
Rails 8 Signed IDs for Secure URLs
Replace sequential IDs in URLs with tamper-proof signed tokens that keep your data safe and your routes clean.
Rails 8 Custom Middleware Patterns
Build request throttling, request timing, and tenant detection middleware that handles real production scenarios.
Rails 8 Middleware: Custom Stacks Guide
Build custom middleware to handle cross-cutting concerns like timing, logging, and request modification in Rails 8.
Rails 8 Action Callbacks Deep Dive
Master controller callbacks with before_action, after_action, and around_action to write cleaner, DRYer Rails code.
My Recommended Stack
Ruby on Rails
The web framework that makes development enjoyable and productive
Hotwire
HTML over the wire - Turbo + Stimulus for reactive UIs without heavy JavaScript
MySQL
Battle-tested relational database with excellent Rails support
Cursor
AI-powered code editor that understands your entire codebase
Claude Code
AI coding assistant for the terminal - perfect for Rails development
Deplo.io
Swiss PaaS - deploy Rails apps with git push, 100% Swiss hosted