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.
đ Deep Dive into Ruby Data Structures & Core Enumerable Methods đ§ đ
Understanding how Ruby methods interact with data structures is key to writing cleaner, faster, and more expressive code. In my latest article, I dive into the behavior of methods like .each, .map, .select, .reduce, and .inject, breaking down how they operate over common Ruby data structures such as arrays đ and hashes đïž. Read more
Read The Nice Manual
In the happy world of Ruby, we donât RTFM, we RTNM:
Mastering Routes in Ruby on Rails
Mastering Routes in Ruby on Rails
Rails MCP Server v1.2.0: Complete Rails Documentation in Your AI Conversations
Just released a major update to Rails MCP Server that brings all official Rails 8.0.2 documentation directly into AI conversations (Claude, ChatGPT, etc). Read more
Understanding Queueing Theory
Continuing our âScaling Railsâ series, our next article is about understanding Queueing Theory. Read more
đ Ruby Just Got Faster â Discover the Power of Fast Allocations in Ruby 3.5 đ
In the world of high-performance web applications, every millisecond counts. The latest update to Ruby 3.5 introduces a game-changing optimization: fast object allocations that significantly reduce memory overhead and boost performanceâespecially for frameworks like Rails. In this article, we dive into how Ruby 3.5 is redefining speed and efficiency, what it means for large-scale Rails applications, and why this update matters for developers aiming to build faster, leaner, and more scalable systems. Read more
Become a Hanami, Dry and Rom patron. Help us build a diverse future for Ruby.
Dear #rubyfriends â today we announce the beginning of a new era for Hanami, Dry and Rom. We are establishing paid, ongoing maintenance for the very first time. We need your help to make it happen, and weâd appreciate anything you can do to spread the word! Read more
đ Excited to share my latest article on building AI-powered document generation syst
Discover how to create dynamic, multi-format documents like Word, PDF, Markdown, YAML, and more â all driven by conversational AI. Read more
Internator: automate your PRs with OpenAI Codex
Internator is a Ruby CLI that, with one command, sends your diff to OpenAI Codex, applies a single incremental change per iteration, auto-generates and commits & pushes with an AI-crafted message, and repeats until your objectives are met (or you hit Ctrl+C).
How to Generate a Random String in Ruby
How to Generate a Random String in Ruby
Cloudflare Turnstile for spam prevention in Rails
Deploying an application to production is usually an enriching experience: real people can use and enjoy what youâve built. Unfortunately, bad actors are a part of the internet and can be harmful if left uncontrolled. In this article, we will learn how to add Cloudflare Turnstile to a Rails application to prevent or mitigate unwanted or malicious requests to parts of our application.
đ Exciting news for Ruby and Rails developers! The new ZJIT compiler has just been m
Curious about what this means for your apps? This article breaks down the advantages, precautions, and realistic expectations around ZJITâs impact on Rails development. Read more
đ Exploring Microservices in Ruby on Rails
I just shared an in-depth article about building a microservices architecture using Ruby on Rails! đ§© â What are microservices? â Why choose them? â A complete, step-by-step example (with code!) of creating user-service and post-service using Rails. Read more
Marksmith
Easily add Markdown support to your Rails applications with Marksmith. This isnât a drop-in replacement to ActionText, but can be used with text or blob columns. Marksmith integrates easily with ActiveStorage for handling file uploads. In this episode, weâll explore setting up Marksmith and some best practices.
Our production Ruby on Rails stack
Read about the gem & infrastructure choices I made while building AttendList, a Ruby on Rails app â Our production Ruby on Rails stack
SOLID for Ruby Engineers
Deep dives into each of the SOLID principles from a Ruby perspective. Read more
đ Transforming Phone Numbers into WhatsApp Links with Ruby!
I just published an article diving into how to take any phone numberâno matter where itâs fromâand convert it into a valid WhatsApp link using Ruby. đđŹ Read more
Internal product analytics with Ahoy
Learn how to track internal product analytics inside your app or SaaS using the Ahoy gem: Internal product analytics with Ahoy and Rails
đ Check out my latest deep dive into Ruby & Rails Method Naming Conventions!
This guide explores how consistent method naming patterns make code more expressive, predictable, and easier to maintain â a must-read for developers looking to level up their Ruby and Rails skills. Read more
Exploring the Blazer gem
Learn how to use the Blazer gem to query your data & build dashboards: Exploring the Blazer gem in Rails
Custom domains and SSL in Rails development
Custom domains for local development in Rails can be a nice addition to our toolbox. Trading localhost and some port number for a short and memorable domain name sounds nice, right? How about if we throw some secure connections into the mix?
đ New Article Alert: Monkey Patching in Ruby â What It Is and Why It Can Be Dangerou
đđđ I just published an article about monkey patching in Ruby â its risks, and how to replace it with better practices like refinements and decorators. If youâve ever wondered how to extend class behavior safely, this is for you! đđđ đ Check it out and let me know your thoughts: Read more
Struggling with error handling in your Ruby apps? đ€
Overusing rescue can hide serious bugs and make debugging a nightmare. Check out my latest article to learn common pitfalls and how to handle exceptions the right way for cleaner, more reliable code. đ Read more
đ Level Up Your Ruby API Game! đ
I just wrote a new article on how to make API calls in Ruby, exploring everything from the simplest approach to pro-level solutions with HTTParty and Faraday. đ đĄ Whether youâre building a new project or improving an existing one, knowing the best ways to handle API requests can make a world of difference. Read more