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
OasGrape: An Alternative for Generating Your API Documentation in Grape
I introduce a new gem for generate an OAS 3.1 in your Grape APIs: https://a-chacon.com/en/just%20ruby/2025/08/16/oas-grape-release.html
The RAG pattern in 32 lines of Ruby code
This post introduces the Retrieval Augmented Generation (RAG) pattern in only 32 lines of Ruby code, and includes a live demo.
Circuit breakers and Ruby in 2025: don't break your launch
Adopting a circuit breaker pattern from day one? Our new post explains this approach and how it can now fit into Ruby projects of any size. Plus, we showcase a gem to help you contain cascading failures before everything flat lines. [more inside]
Extend ActiveStorage for Ruby on Rails with Custom Previewers
We’ll dive into how ActiveStorage handles uploaded data and how to extend this process in the second part of this two-part series: https://blog.appsignal.com/2025/08/13/extend-activestorage-for-ruby-on-rails-with-custom-previewers.html
A set of useful extensions for RSpec
With https://github.com/igorkasyanchuk/rspec_power you can print logs while running specs, define ENV variables, or change locales, etc. All with meta tags in specs. [more inside]
Build Referral Systems in Rails applications
Building a great product is a good starting point for success, but it’s rarely enough to generate meaningful traction. There are many channels we can use for distribution: organic search, social media, paid advertising, and PR, among others. However, if we find success with any of these channels, user acquisition costs usually get higher with time, and that can become a real issue if we’re caught off-guard. Adding a referral system is a good way to acquire a portion of our users for a lower price. In this article, we will learn how to add a referral system to a Rails app using the Refer gem to improve our chances of success. Let’s start by understanding why adding a referral system is desired. Jump to the application setup if you already know about them. https://avohq.io/blog/referral-system-rails
RubyElders — We ❤️ Ruby March 2025 Ecosystem Report
A deep dive into the health of widely used RubyGems. From hidden, rarely updated gems to high-profile libraries like rest-client, we explore what’s being maintained, what’s ready for deprecation, and how simple CI practices can keep the ecosystem strong for years to come. [more inside]
⌛ Jekyll-Timeago: v1.0 release
Jekyll-Timeago
reaches v1! After some years of stability, it’s time to mark this important milestone 🎉 [more inside]
brave_search - Ruby client for Brave Search API with Rails integration
A modern Ruby client for the Brave Search API that brings web search capabilities to Ruby applications. [more inside]
llm.rb: v0.11.0 released
llm.rb is a zero-dependency Ruby toolkit for Large Language Models that includes OpenAI, Gemini, Anthropic, DeepSeek, Ollama, and LlamaCpp. The toolkit includes full support for chat, streaming, tool calling, audio, images, files, and JSON Schema generation.
Build Your Own URL Shortener with Rack
Build a complete, functional URL shortener from scratch with Ruby and Rack. This tutorial guides you in creating a real-world web application with a solid foundation to build upon. [more inside]
Lancelot: Ruby Bindings for Lance with Hybrid Search
Lancelot provides Ruby-native bindings to Lance, a modern columnar data format designed for ML workloads. Think Apache Parquet meets vector database - perfect for storing and searching embeddings, text, and structured data all in one place. [more inside]
Starting to update RubyFlow
RubyFlow has been running on a 5+ year old codebase and in order to add new features (such as spam mitigation!!) I’ve had to massively gut the codebase to get it running on Ruby 3.4, the latest Rack, the latest Sinatra, ripping out Sass, etc. I have just deployed the very first step of this (hence the fonts changing and a few other things). [more inside]
Want to build an AI agent in Ruby but don’t know where to start?
I took a ruby AI workflow app and transformed it from “cute workflow” to a real agent and wrote down the scars. No hype. Just what actually worked. [more inside]
Rails 8 + Hotwire 🤝 Turbo 🤝 React — gem 'islandjs-rails'
IslandJS Rails supports the development of React islands in Rails apps by synchronizing package.json dependencies with UMD libraries served in public/islands/vendor.: https://github.com/Praxis-Emergent/islandjs-rails
RapiTapir - APIs so clean and fast, they practically run wild! 🦙⚡
🦙 Introducing RapiTapir: Type-Safe HTTP APIs for Ruby [more inside]
Building React Apps in Rails Without the API Overhead: A Complete Superglue Guide
Learn how to integrate React into Rails applications using Superglue while keeping form helpers, flash messages, and authentication flows. This comprehensive guide covers everything from setup to server-side rendering, showing you how to build interactive UIs without sacrificing Rails productivity. [more inside]
Model Context Protocol
Model Context Protocol (MCP) is an API interface for your applications that are formatted in a way that machine learning platforms can interact with them. They can be used to generate AI insights, perform tasks based on user input or other things. https://www.driftingruby.com/episodes/model-context-protocol
The /o in Ruby regex stands for “oh the humanity!”
A journey into the wildly confusing /o regex modifier in Ruby. [more inside]
Consistent MySQL structure.sql Diffs for Rails
A guide on how to remove noise from structure.sql diffs in Rails when working with MySQL. [more inside]
Introducing Decant
Introducing Decant, a dependency-free frontmatter-aware framework-agnostic wrapper around a directory of static content (probably Markdown) that pairs perfectly with Parklife plus your favourite Ruby web framework to help you make a content-driven static website: https://www.benpickles.com/articles/95-introducing-decant