Blog

Ruby

89 posts tagged ruby — the same founder-tested patterns, filtered.

TDD Without the Overkill: Why Lightweight TDD Ships Faster

TDD Without the Overkill: Why Lightweight TDD Ships Faster

TDD looks slow on paper. The real ledger is one hour writing tests against six hours debugging next week. Here is why lightweight TDD wins.
TDD in Ruby: A Step-by-Step Guide

TDD in Ruby: A Step-by-Step Guide

A working Ruby tutorial for TDD on a small Order class. The 90-second loop, Shameless Green, Tidy First commits, and the reset move that makes it all safe.
Refactor Without Breaking Tests: The 3-Line Discipline in Ruby

Refactor Without Breaking Tests: The 3-Line Discipline in Ruby

The refactor step breaks more tests than green ever does. Cap each refactor commit at three lines of Ruby and the suite stays green every time.
Rails CVE-2026-41316: Detection and Patch

Rails CVE-2026-41316: Detection and Patch

CVSS 8.1 universal RCE chain through ERB::DeprecatedInstanceVariableProxy and Marshal.load. Detection, upgrade path, Rails 7.0/7.1 EOL options.
Rails 8.1: Subscribe to Events, Skip Logs

Rails 8.1: Subscribe to Events, Skip Logs

Rails 8.1 replaces log parsing with structured events. Wire ActiveSupport::Notifications to Datadog, New Relic, or Prometheus - no regex required.
Active Job Continuations in Rails 8.1

Active Job Continuations in Rails 8.1

Rails 8.1's ActiveJob::Continuable resumes long jobs from their last completed step. How to wire it in, when not to, why Kamal deploys stop losing work.
Solid Trifecta: When to Keep Redis in Rails 8

Solid Trifecta: When to Keep Redis in Rails 8

Rails 8 defaults to Solid Cache, Solid Queue, and Solid Cable. Most apps don't need Redis anymore. Some still do. Here's how we decide which workloads stay.
Ruby on Rails Performance Optimization Patterns for 2026

Ruby on Rails Performance Optimization Patterns for 2026

Concrete benchmarks and patterns for Rails performance in 2026 - YJIT speedups, Rails 8 query optimization, Redis caching, and N+1 elimination.
Rails `has_secure_password` with Argon2: Complete Migration Guide

Rails `has_secure_password` with Argon2: Complete Migration Guide

Step-by-step guide to enabling Argon2 with has_secure_password in Rails. Migrate from BCrypt with zero downtime using the Hybrid Verifier pattern in production.
Placeholder Image

Ruby LangChain Testing Guide 2025 | RSpec + WebMock

Master RSpec testing for LangChain-Ruby with 25 working examples. Learn mocking, VCR, WebMock, and CI/CD automation. Build reliable AI features with 95%+ test coverage.

Reading this because something is going wrong?

A free code audit gives you a written assessment of your codebase in plain English.

Get a Free Code Audit

Rated 4.8/5 on Clutch · you keep the write-up either way