david.dev
AI × Ruby on Rails
Latest Posts
Rails 8 Authentication from Scratch
Build production-ready authentication in Rails 8 without Devise using the new built-in generator and secure patterns.
Rails 8 Strict Loading: Stop N+1 at the Source
Configure strict loading modes to catch N+1 queries in development before they tank your production database.
Rails 8 Module Prepending Patterns
Master Ruby's prepend to extend Rails classes cleanly without brittle alias_method chains.
Rails 8 Action Mailer Preview Tricks
Master email previews with dynamic params, multi-part templates, and attachment testing in Rails 8.
Rails 8 Action Cable Without the Pain
WebSockets in Rails 8 are simpler than ever. Build real-time features without the configuration headaches.
Rails 8 Action Text Rich Content Guide
Build rich text editing into Rails 8 apps with Action Text, Trix, and Turbo integration for seamless content management.
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