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.
đ Conventions and APIs in Ruby on Rails â for Everyone
If youâre building APIs with Rails or just starting to explore backend development, this article is for you. Read more
Grepfruit 3.0.0 Released
Just released version 3.0.0 of Grepfruit, a Ruby gem for searching text patterns in files with enhanced output. Read more
Introducing OasHanami: Generate OpenAPI Docs for Hanami APIs
I just released a version of OasHanami, a tool for documenting APIs built with Hanami using YARD tags. It easily generates an OAS file and displays it with RapiDoc for interactive documentation. It relies on OasCore https://github.com/a-chacon/oas_core. Read more
Win a free ticket to RailsConf
It looks like Ruby Central sold out of individual and student tickets for RailsConf. Hereâs one last chance to attend: win a free conference ticket! Enter to win by 6/23.
đ§š Fast Prototypes. One-Liners. Friday Energy.
Sometimes you donât need a full setup â you just want to run the thing. So I put together a collection of Docker one-liners to spin up Ruby, Rails, Sinatra, Grape, and more â with zero local install pain. Read more
đ§ Ever wonder how Ruby finds the right method when you call it?
Itâs not magic â itâs the method lookup algorithm, and understanding it can level up your Ruby skills in a big way. Read more
Introducing Turbo Transition: create smoother Turbo Streams
New little JavaScript package I extracted from an upcoming new product. â€ïž
Good news for Rubyists and IoT Makers! đđ€
Ruby has officially entered the world of microcontrollers â and itâs deliciously powerful. đȘđ„ Read more
GitHub Flavored Markdown in Rails with Commonmarker
If our users are moderately technical, allowing them to write Markdown instead of using a WYSIWYG editor can make them happier and more efficient. Ruby has several gems whose main concern is parsing Markdown. Each of these has a different approach to the problem, and implements a different Markdown specification. In this article, we will cover Commonmarker, a gem that implements the CommonMark specifications and adds support for GitHub-flavored Markdown, which some users prefer because of its feature set.
đ The definitive guide to mastering config/database.yml in Ruby on Rails is here!
Whether youâre just starting out or managing complex multi-database setups, this article breaks down everything you need to know â from basic configurations to advanced tricks and even handling non-relational databases. Read more
Create Review Apps From Your Pull Requests With Kamal
If youâve migrated your Rails applications from a platform like Heroku to run on your own servers, you might miss having new environments to test out your pull requests. This video playlist shows you how to replicate a review app workflow when using Kamal for deployments. Read more
Rails Active Record Validations
Rails Active Record Validations
đ Is your Ruby app hiding security risks?
I just published a quick guide on using bundler-audit to scan your dependencies for known vulnerabilities â with practical examples to get started fast. If you care about stability and security, this oneâs for you. Read more
đ The Last Guide Youâll Ever Need to Build a Rails API (with Swagger)
If youâre building an API in Ruby on Rails â whether itâs your first one or youâre leveling up â this guide gives you everything you need to create a clean, documented, and production-ready API. Read more
Active Job Continuations is now part of Rails!
This new feature lets background jobs resume from where they left off â making long running jobs more efficient and fault tolerant. Read more
đ Level up your API documentation with RSwag and Swagger in Ruby on Rails
Tired of outdated or unclear API docs? Want to build clean, test-driven documentation for your Rails app?: Read more
đ§ 1. âA Small Change with Big Impact in Ruby 3.3â
Ruby 3.3 introduces embedded TypedData objectsâa behind-the-scenes optimization with impressive real-world gains. Read more
Exploring Common AI Patterns with Ruby
Exploring Common AI Patterns with Ruby is a guide to integrating LLMs with Ruby using OmniAI. This article offers three examples problems solved using various LLM techniques.
đ§Ș Writing Clean Tests with WebMock
Just published a new article breaking down how to mock external APIs in RSpec without sacrificing clarity or maintainability. Instead of relying on helpers or abstractions, I show how to use WebMock directly while keeping your test suite clean, expressive, and easy to reason about. Read more
Phlex on Rails video course
Launching a paid video course for using Phlex in Rails projects at The plan is to work with the first 50 people who pre-order to fine-tune the curriculum to make sure Iâm maximizing âwhat people wantâ and give them a nice discount for being an early supporter. Iâll be developing free content alongside it that Iâll be sharing as well in the coming weeks.
New Gem: xmp_toolkit_ruby â Ruby Bindings for Adobeâs XMP Toolkit SDK
Iâve just released xmp_toolkit_ruby, a Ruby binding for Adobeâs XMP-Toolkit-SDK. Read more
đ§Œ "Skinny Controllers, Fat Models" â A Classic Rails Guideline That Still Matters
Whether youâre just starting out with Rails or maintaining a mature codebase, this principle helps keep your app clean, testable, and easier to scale â but thereâs more nuance to it than meets the eye. Read more
Shopify Has Been Bad for the Ruby Community in the Last 10 Years
Ever since I took over the Montreal.rb Ruby Meetup 3 years ago, Shopify, which has presence in Montreal (Quebec, Canada), hasnât volunteered a single Ruby/Rails talk nor bothered to contact me to just say Hi and check if I need sponsorship or anything to demonstrate they care about the local Ruby community. Other companies with far less resources have reached out to me to offer talks or sponsorship though, so Shopify has zero excuses here. Shopify lost a lot of merit points because of thisâŠ