david.dev
AI × Ruby on Rails
Latest Posts
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.
Rails 8 Action Mailbox: Process Incoming Email
Handle incoming emails in Rails 8 with Action Mailbox—route, process, and respond to messages with clean, testable code.
Rails 8 Lazy Loading with Turbo
Load content on demand with Turbo Frames and lazy loading to speed up initial page loads dramatically.
Rails 8 Enum Attributes Done Right
Master Active Record enums with validation, scopes, and MySQL storage patterns that won't bite you later.
Rails 8 Instrumentation and Custom Metrics
Build observability into Rails apps using ActiveSupport::Notifications and custom instrumentation for production insights.
Rails 8 Credentials Management Guide
Master Rails 8 credentials for secure configuration across environments without third-party secrets managers.
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