RailsAgency

Blog

Field notes on Rails & AI.

Hard-won lessons from production Rails apps — performance, infrastructure, upgrades and AI-assisted engineering.

Ruby on Rails

Structured Event Reporting with Rails.event in Rails 8.1

Rails.event emits named events with a payload, tags, and request context, so the facts you want to search are data instead of a log line someone has to parse.

October 22, 2026 · 3 min read

Ruby on Rails

Running Rails CI Locally with bin/ci in Rails 8.1

Rails 8.1 adds config/ci.rb and bin/ci so style, security, and test checks run on your machine. For a small or mid-size app, that is often faster than waiting on a hosted runner.

October 21, 2026 · 4 min read

Ruby on Rails

What Heroku's Puma Keepalive Investigation Teaches Us About Real Infrastructure Work

Heroku traced tail-latency spikes to how Puma handled HTTP keepalive connections. The lesson: real performance work means measuring production behavior end to end, not guessing from code.

July 31, 2025 · 4 min read

Artificial Intelligence

Accelerating Development with AI: How Agencies and Developers Can Win with ChatGPT, Cursor, and Beyond

AI tools like ChatGPT and Cursor speed up boilerplate, refactors, tests and debugging. Experienced engineers get the biggest gains because they can direct and verify AI output.

May 14, 2025 · 4 min read

Ruby on Rails

Running All Your Scheduled Jobs with Sidekiq Cron Instead of Heroku Scheduler

Move recurring jobs from Heroku Scheduler to Sidekiq Cron to get flexible cron syntax, one place for logs and retries, and no cold-start one-off dynos.

May 13, 2025 · 3 min read

Ruby on Rails

Refactoring Fat Models with a Service-Oriented Architecture in Ruby

Extract business logic from bloated ActiveRecord models into small, single-purpose service objects to make Rails code easier to test, reason about and change.

May 13, 2025 · 4 min read

Something to build — or fix?

Book a free 30-minute call. You'll talk directly to a senior Rails engineer — no sales team, no hand-offs.