Design Patterns in Ruby #1: Strategy Pattern
When building applications, one of the most common challenges is managing behaviors that can vary over time. Behavioral Design Patterns helps us desi
Curated development tutorials from top sources. Filter by language.
When building applications, one of the most common challenges is managing behaviors that can vary over time. Behavioral Design Patterns helps us desi
You want to add a new resource to your Rails app. You know the drill — rails generate, tweak the migration, add validations, write the controller acti
I gave a coding agent a real maintainer chore on the largest open-source Rails monolith there is, and recorded the whole session. Then I gave it the s
What Active Rubyists Are Using in 2026: A Maintainer's Read of the RubyKaigi Survey
I went looking for a Ruby port of Anthropic's Claude Agent SDK this week, the thing that ships as pip install claude-agent-sdk for Python and npm inst
I've been writing a lot of code recently, of course with lot of help from Claude and Codex. I mostly write in Ruby on Rails and I am falling in love w
Don't take my word for any of it. Run this on a repo you know cold and read the diff yourself. Four commands, about five minutes, and you'll know exac
A Rack application is typically configured through a config.ru (RackUp) file. This file defines the stack of middleware that will handle incoming requ
Dependabot Resolves Remaining Bundler 4 Compatibility Issues July 1, 2026 Teams adopting Bundler 4 can breathe a little easier. After several weeks
What is Rack? Rack is a Ruby gem that acts as a middleman between your Ruby framework (like Rails or Sinatra) and the web server/applicatio
Beam Up is a command-line tool I wanted for some time. Its goal is to make deployments of static sites across various providers simpler from your mach
Before and after (image) sliders are great for product showcases, before/after transformations, renovation projects or photo editing results. They’re
How to Monitor Your Ruby on Rails App with Uptime Checks and Sidekiq Heartbeats (free) Your Rails app just went down at 3 AM and you found
Rails Performance: Lessons from Production — #6 By now the DB queries, caching, and background work are handled. But sometimes the SQL is genuinely
Rails Performance: Lessons from Production — #5 The earlier posts optimized what happens inside a request — fewer queries, indexes, caching. This on
Originally published at claudeguide.io/claude-api-ruby-rails-guide Claude API Ruby on Rails: Complete Guide (2026) You can call the Clau
The difference between validates and validate in Rails is one letter, and that letter changes everything. One is the built-in helper you feed a list o
Scopes and class methods in Rails do almost the same job, which is exactly why the question trips people up. The honest answer is that a scope is basi
Callbacks are one of those Rails features that feel great for about three months and then quietly ruin your afternoon. The question I got asked in an
MVC is the first thing anyone learns about Rails and the last thing people actually get right. The pattern itself is simple. Three layers, each with o