Blog
24 articles
Rails 8 Callbacks: Patterns and Pitfalls
Master Active Record callbacks without creating maintenance nightmares. Learn when to use them and when to run.
Rails 8 STI: When and How to Use It
Single Table Inheritance can simplify your models or create nightmares. Learn the patterns that actually work.
Rails 8 File Uploads with Active Storage
Master file uploads in Rails 8 using Active Storage with direct uploads, variants, and MySQL-backed metadata.
Rails 8 Polymorphic Associations Guide
Build flexible, reusable relationships between models using polymorphic associations in Rails 8.
Rails 8 Authorization with Action Policy
Build a flexible, testable authorization system using Action Policy—the modern alternative to Pundit and CanCanCan.
Rails 8 Caching with Solid Cache
Replace Redis with database-backed caching using Rails 8's Solid Cache for simpler deployments and lower costs.
Rails 8 Multi-Tenancy with MySQL
Build a multi-tenant Rails 8 app using MySQL schemas and row-level scoping without third-party gems.
Rails 8 Migrations: Patterns That Scale
Master migration patterns that keep your Rails 8 MySQL database clean, fast, and ready for production growth.
Rails 8 Concerns: Patterns That Work
Master ActiveSupport::Concern to write DRY, maintainable Rails code without the common pitfalls.
Rails 8 Query Interface Deep Dive
Master Active Record's powerful query methods to write cleaner, faster database code with Rails 8 and MySQL.
Page 1 of 3