david.dev
AI × Ruby on Rails
Latest Posts
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.
Rails 8 JSON Columns with MySQL
Store flexible data in MySQL JSON columns while keeping Rails validations and query performance intact.
Rails 8 Full-Text Search with MySQL
Build powerful search functionality using MySQL's native full-text capabilities without adding external dependencies.
Rails 8 Query Objects That Scale
Extract complex database queries into testable, composable objects that keep models thin and logic reusable.
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