Blog

Ruby

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

Your Link Checker Is Probably Checking Nothing

Your Link Checker Is Probably Checking Nothing

We planted eight defects in our own CI. Three were caught. One gate was skipping 133,874 of 149,516 links and reporting green. Here is the command that proves it.
What RubyLLM Retries, and For How Long

What RubyLLM Retries, and For How Long

RubyLLM retries POSTs that Faraday would not, and honors Retry-After with no upper bound. A 429 can park a Rails request for as long as the provider says.
RubyLLM vs Langchainrb for Rails

RubyLLM vs Langchainrb for Rails

RubyLLM is a model client with Rails generators. Langchainrb is retrieval plumbing. Pick by whether you query your own documents, not by provider count.
RubyLLM in Rails: Chat, Tools, Streaming

RubyLLM in Rails: Chat, Tools, Streaming

Add LLM chat to Rails with RubyLLM: one API for OpenAI, Claude, and Ollama, acts_as_chat persistence, tool calling, streaming into Turbo, and real trade-offs.
Ruby Fibers for LLM Streaming in Rails

Ruby Fibers for LLM Streaming in Rails

LLM responses stream for 30 seconds while a Rails thread waits. The arithmetic of Puma threads vs open SSE streams, and when Falcon's fibers earn the switch.
Ruby 4.0 YJIT vs ZJIT: Performance Guide

Ruby 4.0 YJIT vs ZJIT: Performance Guide

Ruby 4.0 ships two JIT compilers. What YJIT delivers on Rails apps in 2026, the two flags worth tuning, and when the experimental ZJIT is worth a try.
Multi-Agent LLM Pipelines in Rails

Multi-Agent LLM Pipelines in Rails

Our production multi-agent LLM pipeline in Rails: eight RubyLLM agents on a 21-line base class, a 16-line loop, and the deploy that starved the database pool.
Evaluating LLM Agents in Rails

Evaluating LLM Agents in Rails

How a Rails team knows whether its LLM agents still work: bounded schemas at the boundary, and a per-iteration audit trail you can read a month later.
Debugging RubyLLM Agents in Rails

Debugging RubyLLM Agents in Rails

What a green Rails suite actually asserts when the thing under test is a hosted model: VCR matches on method and URI only, and the model can be retired.
Falcon in Production: Tuning and Benchmarks

Falcon in Production: Tuning and Benchmarks

Falcon production tuning: real benchmarks vs Puma, worker-count formulas, memory profiling, GC tuning, connection-pool sizing, and working config examples.

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