david.dev
AI × Ruby on Rails
Latest Posts
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.
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.
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