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.
Veri v2.0: Important Fixes for Rails Authentication Gem
Veri, a minimal authentication framework for Rails, releases v2.0. This release fixes the major user impersonation issue that existed in v1. Upgrading is highly recommended. [more inside]
Ruby bindings for lockf(3)
lockf.rb offers Ruby bindings for the advisory-mode lock provided by the lockf(3) function. It is similar to flock(2) in spirit but it also has semantic differences that can be desirable when used across the fork(2) boundary and that is usually the main reason to use this library.
ruby-libgd: Ruby gets its raster graphics engine back
👉 Full article: Ruby Can Create Images Again — How ruby-libgd brings a real raster engine back to Ruby https://rubystacknews.com/2026/01/05/ruby-can-create-images-again/ [more inside]
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. https://www.driftingruby.com/episodes/self-hosted-app
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]
React on Rails and How to integrate React with Rails 8
React on Rails is a nice pre-built integration of React and Rails.
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]
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! https://www.youtube.com/watch?v=LY6ulYICuzE