The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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
How to Add a Visual Page Builder to Your Rails App in 10 Minutes
The Quickest Way to Build a Drag-and-Drop Landing Page Builder in Rails 8 Often when I am… [more inside]
ruby-crewai: The missing Ruby SDK for CrewAI's multi-agent AI API
CrewAI is one of the fastest-growing multi-agent AI frameworks right now, but it’s Python-only. There’s no official Ruby SDK, which means Rails developers have been left out. [more inside]
rspec-mockbidden: Forbid Unwanted RSpec Mocks
Utility gem for RSpec to forbid mocking methods on objects/classes/modules, evaluated at test runtime: https://lovro-bikic.github.io/rspec-mockbidden/
llm.rb is probably the most capable AI runtime in Ruby today
Did you know that llm.rb is the most capable AI runtime in Ruby right now? It can do things other libraries just can’t, and it can do those things today. Request canceltion? llm.rb has you covered. Turn any ActiveRecord model into an agent? llm.rb has you covered. MCP? llm.rb has you covered. Built-in tracer and observaility support? llm.rb has you covered. And much more.
How I Built a Native Android App with Zero Kotlin Experience
Turning a Rails App into an Android App: Testing Hotwire Native Recently I wanted to test… [more inside]
llm_cost_tracker 0.1.2: self-hosted LLM API cost tracking for Ruby/Rails
I released my first Ruby gem: llm_cost_tracker. [more inside]
Making Sense of JavaScript in Rails: Webpack, Rollup, esbuild, and Importmaps
Very often I find myself talking to developers who are incredibly confused by the JavaScript… [more inside]
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]