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.
Understanding Queueing Theory
Continuing our “Scaling Rails” series, our next article is about understanding Queueing Theory. [more inside]
🚀 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. [more inside]
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! [more inside]
🚀 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. [more inside]
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. [more inside]
🚀 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. [more inside]
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. [more inside]
🚀 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. 🌍💬 [more inside]
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. [more inside]
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: [more inside]
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. 🚀 [more inside]
🚀 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. [more inside]
Rails philosophy explained with drawings
The Rails doctrine is not easy to understand, I humbly admit I should have take more time to read it before to start learning Rails. Here is how I see it today. [more inside]
Managing PostgreSQL table partitioning in Ruby
Partitioning splits huge tables into smaller, more manageable chunks, reducing bloat and improving performance. Honeybadger’s pg_partition_manager gem automates creating and pruning time-based partitions in Rails, so maintenance is hands-off. Here’s a walkthrough from Honeybadger co-founder Ben Curtis.
Unpoly outclasses Hotwire
Both tool are great way to handle JS with Rails, but in my experience, Unpoly made it better [more inside]
🧰 Struggling to debug your Ruby code efficiently?
I just published a new article covering 4 essential Ruby debugging tools every developer should know: [more inside]