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.7.2: Rails-native LLM cost tracking, now more production-ready
Released llm_cost_tracker v0.7.2 [more inside]
Rails-based SSG: Perron (1.0.0 released)
Perron is an OSS Rails-based static site generator I released 9 months ago and now hit 1.0.0. Read the announcement post https://railsdesigner.com/perron-1-0/, the docs https://perron.railsdesigner.com/docs/ and check out the repo https://github.com/Rails-Designer/perron ⭐
The Importmap Guide to Shadcn: Beautiful UI with Zero Build Step
How to Use Shadcn UI in Rails 8 (Without React or Webpack) If you have looked at frontend… [more inside]
Migflow: migration timeline, schema diffs and audit warnings for Rails
Migflow is a mountable Rails engine that adds a dashboard at /migflow with a visual timeline of all migrations, schema diffs between any two versions, an ERD graph, and audit warnings (missing indexes, unsafe null constraints, etc.). Also ships a CLI report for CI pipelines. Supports Rails 7+, Ruby 3.2+, and API-only apps. [more inside]
Ruby Gem Discovery: HighLine
I recently stumbled upon a Ruby gem called HighLine that simplifies basic command line input/output via an ask method and supports validation, conversion, and multi-choices.
https://andymaleh.blogspot.com/2026/04/ruby-gem-discovery-highline.html
The Secret to Side-by-Side Gem Development in Rails
Stop Pushing to GitHub: How to Test Ruby Gems Locally Very often I find myself writing a… [more inside]
Stub responses to test code that interacts with RubyLLM
If you are using RubyLLM, but struggling to test code that interacts with an LLM, check out the new gem RubyLLM::Test. It makes it easy to stub responses as well as validate request parameters.
The Language of the Web: HTTP Basics You Actually Need to Know
HTTP Basics You Must Know As A Web Developer Very often I see new developers build an… [more inside]
What took 1.5 months to build in React JS took 1.5 days in Glimmer DSL for Web Ruby
When I reimplemented a React component as the first Glimmer DSL for Web Component in my job’s Fintech Rails web app, I thought I did what would have taken 1 week in React in 1.5 days in Glimmer, which seemed like a great improvement in productivity at the time (333.33% the productivity if we count 1 week of React as 5 business days). I recently inspected the Git timeline of the original React component, and discovered that it actually took 1.5 months to develop initially!!! https://andymaleh.blogspot.com/2026/04/what-took-15-months-to-build-in-react.html
Self-hosted LLM Cost Tracker for Rails – v0.5.3 Released
I’ve just released v0.5.3 of llm_cost_tracker — a lightweight, self-hosted gem designed to track LLM API costs directly inside Ruby and Rails applications. [more inside]
Using native Rails rate-limits in production
Learn how to rate-limit your Rails controllers in production with Rails’ native rate_limit method.
Stop Using Ugly Browser Alerts: Custom Turbo Confirms in Rails 8
I’m building a really nice, modern Rails application. I use Tailwind to make the buttons look great,… [more inside]
Mustermann 4.0 released
For its 13-year anniversary, I’ve released Mustermann 4.0, the string pattern library powering Sinatra, Hanami, Grape, and others.
Rails 8: How to Auto-Generate Social Media Preview Cards
Very often I find myself sharing a link to my new Rails project on Twitter, Discord, or LinkedIn. But… [more inside]
Fifteen Ruby takes on a DSL for stepped workers
A tour of fifteen ways to declare ordered worker steps in Ruby – from a plain manifest constant to macros, method hooks, modules, Fibers, Enumerators, and a small archaeological stop at continuations. [more inside]
OOP vs Functional Programming Explained for Dummies
I see beginner developers get completely overwhelmed by computer science jargon. You read an article… [more inside]
Messages Before Objects
Shift the focus from classes to conversations: sequence diagrams, stable interfaces, the Law of Demeter, and practical decoupling techniques in Ruby. [more inside]