惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
博客园 - 司徒正美
Last Week in AI
Last Week in AI
爱范儿
爱范儿
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
雷峰网
雷峰网
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
Jina AI
Jina AI
人人都是产品经理
人人都是产品经理
量子位
V
V2EX
博客园 - 叶小钗
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Ruby Didn't Die in the Age of AI
Ender Ahmet · 2026-04-27 · via DEV Community

When I first encountered Ruby on Rails back in 2010, it changed my life in ways that are hard to put into words. Meeting a framework sounds like a small thing but back then, Rails showed me how quickly I could bring my ideas to life. That realization made me want to share what I knew with everyone around me. I've been doing that ever since.

Years have passed. We've entered the age of AI. Many of us assumed that the era of "Ruby makes things easy" was quietly closing. And in some ways, it was. But a new door opened at the same time. The era of doing things even faster with Ruby and AI is just beginning.

Why Ruby?

Fair question. Python dominates AI. JavaScript is everywhere. Why would anyone look at Ruby when building AI-powered applications?

Here's what I kept noticing: the developers who were moving fastest weren't necessarily using the most popular AI frameworks. They were using the ones that got out of their way. And Ruby, it turns out, is exceptionally good at getting out of your way.

A few months ago, the Sinaptia team built a fully-featured coding agent in 250 lines of Ruby. A CLI with history, slash commands, subagent support, save and resume — all in 250 lines. When I first heard that, I thought: "Sure, but you could do it in Python too." True. You could. But there's something different about doing it in Ruby. And that difference compounds.

AI tools don't write every language equally well

Last month, Steve Clarke ran an interesting experiment. He tested the same prompts across different frameworks and the result was clear: AI tools produce far more accurate and usable code in frameworks with strong conventions, like Rails.

Why? Because there's very little left for Cursor, Claude Code, or Copilot to guess. In Rails, everything has a place. Authentication works a certain way. Background jobs are set up a certain way. Decades of convention mean AI doesn't need to fill in the blanks.

In practice, this means Rails projects need fewer corrections, fewer "no, that goes somewhere else" moments, less going back. The code comes out right more often on the first try.

Miles Woodroffe wanted to add a new feature to a meal planning app he hadn't touched in almost a year. He dragged two screenshots from the Vitality app into Claude Code, explained what he wanted. Claude interpreted the rings in the image as 3, 5, and 8-step completion goals, added monthly pagination, suggested a summary section he hadn't even thought of, designed the database changes, wrote the model and controller, and set up a nightly job using Solid Queue. It worked. 30 minutes. A feature he had been putting off for 6 months, shipped to production.

That's not magic. It's Rails conventions telling Claude exactly where everything belongs.

The "research problem" is over. The "integration problem" has begun.

This was the line from Sinaptia's post that stuck with me. Before LLMs became widely available, building a coding agent was a genuine research problem. Now it looks like this:

  1. Write two utility functions for the LLM. One for editing files, one for running bash commands
  2. Connect to an API
  3. Put it in a loop

That's it. That's the skeleton of a coding agent.

So why does this put Ruby in a strong position? Because the "integration problem" is exactly where Ruby shines. Rails has spent years doing one thing: abstracting complex infrastructure decisions and giving developers a clean interface on top. LLM integration fits that exact mold.

Look at RubyLLM. OpenAI, Anthropic, Gemini, Ollama. All through the same interface. Switching providers is one line. Defining a tool is one class. Setting up an agent is five lines.

This isn't Ruby magic. It's good design. And Ruby is exceptionally good at expressing that kind of design.

The numbers back it up

RubyLLM supports 800+ models across 12 providers. It has over 4.7 million downloads on GitHub. Companies like 37signals are using it in production.

"Ruby has no AI libraries" is no longer a valid argument. Yes, PyTorch and NumPy live in Python, and if you're training models, Python is the right choice. But we're not training models. We're using them. And for that layer, the Ruby ecosystem is mature and growing fast.

What does "powerful" actually mean?

We've all heard "Ruby is a powerful language." But what does that actually mean?

Sinaptia put it well: power isn't just capability. Power = capability / effort. And Ruby maximises that ratio.

Think about it this way: the less code you need to set up an agent, the less time you spend writing code and the more time you spend thinking about what you're building. That gap feels small at first. Over a project, it compounds.

Add AI tools to the mix and the advantage doubles. Ruby's readable, expressive syntax also makes it easier to understand what the AI produces. When Claude writes a Rails controller, you can see immediately what it does. Easy to change, easy to debug. The loop speeds up:

write → understand → adjust → move forward.

Miles described this well: Ruby's clear syntax means that when you review what Claude delivers, you can quickly grasp the output and know what to do next. Compounded over a two-hour session, this is a massive boost to flow.

As Garry Tan put it:

Rails was designed for people who love syntactic sugar, and LLMs are sugar fiends.

Disposable code — and why that's liberating

This was the concept from Miles' post that hit hardest: disposable code.

When ideas can come to life this quickly, the way you work changes. Open a branch, try the idea, if it's not working, delete the branch and move on. We used to labour over code because it was expensive. Now code is just the way we present ideas to users. The idea itself is still what matters.

For Ruby and Rails, this is particularly meaningful. Rails was built on a culture of fast prototyping. With Claude Code, that culture reaches a new level: a prototype is now minutes, not hours.

Conclusion

250 lines. A fully-featured coding agent. 30 minutes. A feature that had been sitting on the backlog for 6 months, now in production.

These numbers don't make me ask "how little code?" They make me ask:

"If this much gets done with this little, where does the real work go?"

The answer is clear: the real work shifts to thinking about what you're building. What problem are you solving, what should the experience feel like, how should the system behave.

That, I think, is Ruby's best gift in the age of AI. The language is expressive enough, the ecosystem mature enough, the AI tools compatible enough — that you can focus entirely on what you're building.

So, how are you using AI tools in your Ruby projects? Have you tried Claude Code yet?


I write about Ruby, Rails, and software development every Thursday. You can follow me at enderahmetyurt.com.