Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Today
llm.rb v4.17.0 has been released
llm.rb has been released. Notable features in this release are Sequel and ActiveRecord support. Turn any ActiveRecord model into an LLM-capable model. It only requires one table. Same is true for Sequel. See CHANGELOG for details.
How to Build a Custom Affiliate System in Ruby on Rails
When you are launching a new SaaS, getting your first users is the hardest part. One of the best ways… [more inside]
It Looks Like Ruby, But It’s Not: How to Understand Elixir
If you write Ruby, you will eventually get curious about Elixir. The creator of Elixir, José Valim,… [more inside]
Pundit vs CanCanCan vs Action Policy: Which Rails Auth Gem Wins?
Sometimes I find myself starting a new Rails project, and almost immediately, I hit a wall: User… [more inside]
Ruby Memes 2026-04-14
“Oh Ruby, you’re the most elegant and beautiful language ever! I just love you so much…” https://andymaleh.blogspot.com/2026/04/ruby-memes-2026-04-14-ruby-hypocrite.html
A different kind of tired
Earlier this year I was freaked out about AI. I’ve spent the months since using it constantly, on every project, at every stage. I expected to feel replaced, or at least unsettled. Instead, something underneath the work shifted. [more inside]
Ruby Users Forum ❤️ Open Source
We’re collaborating with Open Source maintainers to bring their project discussions to the forum. [more inside]
Singleton Pattern
Learn how to implement the Singleton pattern in Ruby: built-in module, manual approach, thread safety, the class variable trap, and dependency injection. [more inside]
Wise Testing: What to Test (and Ignore) as a Solo Rails Developer
Solo founders fail for a completely preventable reason. It’s not because their idea was bad, and it’s… [more inside]
Remembering Piotr "chastell" Szotkowski
More than 8 months later, I finally managed to put some thoughts about the passing of my dear friend Piotr into a post: Remembering Piotr “chastell” Szotkowski>
Stop AI Spaghetti: Enforcing Rails Architecture in 2026
We are fully in the era of autonomous coding. If you use tools like Cursor, Windsurf, or Copilot… [more inside]
How to Fix N+1 Queries in Rails Like a Pro
There are Rails applications that run incredibly fast on a developer’s laptop, but the moment they… [more inside]
Introducing ractor_queue: A Shared Queue for Ruby Ractors
This post introduces ractor_queue v0.1.0, a bounded, lock-free, Multi-Producer Multi-Consumer (MPMC) queue that is always Ractor.shareable?. It is the missing primitive for building Ractor-based pipelines, worker pools, and concurrent data processing in Ruby. [more inside]
llm.rb v4.13.0 released
llm.rb is a runtime for building AI systems that integrate directly with your application. It is not just an API wrapper. It provides a unified execution model for providers, tools, MCP servers, streaming, schemas, files, and state. See the CHANGELOG this release.
Building a World-Class Search Engine in Rails with Searchkick
Stop Using SQL LIKE: A Step-by-Step Guide to Elasticsearch in Rails When you build a… [more inside]
Mastering Regular Expressions in Ruby
Regular expressions (regex) are powerful tools for pattern matching and text manipulation https://www.railscarma.com/blog/ruby-regex-match-guide-with-examples/
re2 2.27.0: concurrent matching without the GVL
A new version of the Ruby bindings to RE2, a “fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python” is now out and releases the Ruby Global VM Lock when performing matches. [more inside]
The Easiest Way to Add Drag and Drop to Your Rails App
Building Drag and Drop in Rails 8 with SortableJS and Importmaps Very often I find myself… [more inside]