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
LLM Cost Tracker 0.2.0: Now with Built-in Dashboard
I’ve just released v0.2.0 of llm_cost_tracker. The main update is the new built-in UI dashboard, which allows you to visualize your LLM spending and token usage directly in your Rails app. [more inside]
From a talk at Ruby SUR to a full write-up:
https://rubystacknews.com/2026/04/20/generating-thousands-of-maps-per-minute-in-ruby/ Building maps in Ruby, without external tools. I explain the approach behind ruby-libgd + libgd-gis 👇 #ruby #gis #opensource
How Turbo 8 Morphing Makes Rails Frontend Development Feel Like Magic
When Hotwire first came out, it felt like a superpower. We could finally update our web pages without… [more inside]
How to build a platform of agents
This post introduces a pattern where a user can have many agents, and an agent can be specialized in a particular domain. An agent can have tools, and even skills. Its a powerful technique for building serious AI applications. Based on ActiveRecord.
How to Port Legacy Rails Applications to Propshaft
Over the years, I’ve dealt with my fair share of Sprockets problems and then some - I do not, I must admit, mourn its replacement as a default asset pipeline for Rails. [more inside]
Let It Slop: A New Approach to Modularity in the Age of AI Code Generation
A practice-backed proposal on how we should rethink modularity in Rails applications in the time of code generation tools. With a look back into why and how we did modularity in programming up until now. This is my lightning talk from Wroclove.rb conference turned into a full blogpost. [more inside]
llm.rb continues to innovate and push boundaries
llm.rb - the most capable AI runtime for Ruby - has added skills support. The same skills you might know and love from Claude, or Codex. They’re now available to the Ruby runtime through llm.rb and open up exciting possibilities.
Railsmaxxing, or hidden Rails gems
58 Rails built-ins worth knowing: Preloader, generates_token_for, resolve in routes, ActionController::Renderer, after_all_transactions_commit, and more. Plus 3 “anti-gems”: features with clean names that may bite when you adopt them. [more inside]
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]