Rails 8 Custom Middleware Patterns

Build request throttling, request timing, and tenant detection middleware that handles real production scenarios.

February 01, 2026

Rails 8 Middleware: Custom Stacks Guide

Build custom middleware to handle cross-cutting concerns like timing, logging, and request modification in Rails 8.

January 31, 2026

Rails 8 Action Callbacks Deep Dive

Master controller callbacks with before_action, after_action, and around_action to write cleaner, DRYer Rails code.

January 30, 2026

Rails 8 JSON Columns with MySQL

Store flexible data in MySQL JSON columns while keeping Rails validations and query performance intact.

January 29, 2026

Rails 8 Full-Text Search with MySQL

Build powerful search functionality using MySQL's native full-text capabilities without adding external dependencies.

January 28, 2026

Rails 8 Query Objects That Scale

Extract complex database queries into testable, composable objects that keep models thin and logic reusable.

January 27, 2026

Rails 8 Request Variants for Device UIs

Serve different views to phones, tablets, and desktops without duplicating controllers or logic.

January 26, 2026

Rails 8 State Machines Without Gems

Build robust state machines in Rails 8 using pure Ruby and Active Record, no external dependencies required.

January 25, 2026

Rails 8 Optimistic Locking Guide

Prevent lost updates when multiple users edit the same record simultaneously using optimistic locking.

January 24, 2026

Rails 8 Pessimistic Locking Guide

Prevent race conditions and data corruption with database-level locks in Rails 8 and MySQL.

January 23, 2026

Page 1 of 5

← Back to Home