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.
Dependency Inversion Principle
The Dependency Inversion Principle in Ruby: what it really means, when to use dependency injection, and when to keep your code simple. [more inside]
Self Hosted App
In this episode, we’ll go from a fresh Rails 8 application and a newly provisioned Raspberry Pi to deploying the application on the PI. We’ll also set up a domain to point to this application and put in place geo restrictions to help prevent unwanted access.
Rails adds a useful revision checking method
In some of my projects in recently years, I’ve had to track versions between deployments. Rails added an official method to handle this in its main branch [more inside]
Grepfruit v3.2: Programmatic API for Text Search
Grepfruit, a ractor-powered text search gem, adds a programmatic API in v3.2, a count-only mode, and Ruby 4 support. [more inside]
ruby-libgd released — a modern native raster engine for Ruby
We’re excited to announce the release of ruby-libgd, a modern native Ruby binding to libgd. After RubyConf 2025 highlighted the difficulty of generating map tiles and images in Ruby due to unmaintained bindings and slow ImageMagick wrappers, ruby-libgd fills a critical gap: a fast, in-memory, GC-safe image processing layer for Ruby without external processes. [more inside]
React on Rails and How to integrate React with Rails 8
React on Rails is a nice pre-built integration of React and Rails.
When good threads go bad
It’s late, and you get alerts that web requests are failing. Page loads hang endlessly. The server isn’t responding, requests are queueing up. What do you do?! [more inside]
Rails MCP Server 1.5.0: Security Hardening and Sandboxed Environment Support
The Rails MCP 1.5.0 includes security improvements, and for the first time, it can be used with Agents like Code Claude. You get the benefit of asking Rails and Prism for static analysis of your app. [more inside]
How RIZAP Built a High-Performance Ruby Team
Based on a talk presented at RubyWorld Conference and Kaigi on Rails, this article explores how RIZAP Technologies built a world-class Ruby engineering team from scratch—hiring juniors and high-potential candidates and systematically turning them into senior engineers through a disciplined training plan, deep technical foundations, and a culture designed for continuous growth. [more inside]
Interface Segregation Principle
How to apply the Interface Segregation Principle in Ruby, and why taking it too far can hurt your design. Practical examples and trade-offs. [more inside]
UPDATE: Telegem Examples Added & Live Stars Counter!
Quick update on the Telegem Ruby Telegram bot framework: [more inside]
Ruby Absolute Value abs() Performance and Edge Cases
An overview of the abs method in Ruby and how to calculate Ruby absolute value
Building an AI agent inside a 7-year old Rails application
I work on a large Rails monolith used by social workers, where access control and correctness matter more than experimentation. [more inside]
Video of "Frontend Ruby with Glimmer DSL for Web" at Ruby on Rio 2025-06-06
A video has been uploaded of the Ruby on Rio 2025-06-06 talk I gave: “Frontend Ruby with Glimmer DSL for Web”. It covers Glimmer DSL for Web, the Frontend Ruby on Rails gem that won a Fukuoka Prefecture Future IT Initiative 2025 award by Matz, the creator of Ruby. Merry Christmas!
Create Ruby 4 Docker Sandbox and use this for Testing Ruby::Box
Ruby 4 introduces Ruby::Box, a new runtime feature that enables isolated class and constant worlds inside a single Ruby process. [more inside]
Telegem v1.0.0: Async Telegram bot framework
JUST released Telegem, a modern Telegram Bot framework for Ruby inspired by Telegraf.js ! [more inside]
Ruby at 30: Anniversary Reflections and Matz’s Keynote
I invite you to dive into the Ruby Release 30th Anniversary and Matz’s keynote throug [more inside]
State of Hanami, December 2025
State of Hanami, December 2025 [more inside]
JsonMend - repair broken JSON
JsonMend is a robust Ruby gem designed to repair broken or malformed JSON strings. It is specifically optimized to handle common errors found in JSON generated by Large Language Models (LLMs), such as missing quotes, trailing commas, unescaped characters, and stray comments