Blogs


Finding ideal number of threads per process using GVL instrumentation
In part 1 we saw how to find ideal number of processes for our Rails application.
In part 2, we learned about Amdahl's law which helps us find the ideal number of threads theoretically.
In this blog, we'll run a bunch of tests on our real produc...

Announcing Ivar: Ruby’s Missing Instance Variable Typo Warnings – avdi.codes
Ivar is a Ruby gem that automatically checks for typos in instance variables.That’s because what Ivar does seems so basic that it’s almost a surprise it isn’t part of the language. Do you see that warning about an unkown instance variable? That’s ...

Active Storage & Form Errors: Preventing Lost File Uploads in Rails · Daniela Baron
Rails' Active Storage is a powerful, built-in solution for handling file uploads, providing integration with cloud storage and automatic attachment management. It works out of the box, making it easy to associate files with models. However, when a...

A Useful Command to Check if a Gem Is Loaded in Your Bundler Environment - FastRuby.io | Rails Upgrade Service
Learn how to check if a Ruby gem is loaded in your Bundler environment using a simple, regex-based command. Great for debugging, scripting, or environment checks.In this article, we will discuss what this command does, what exactly it’s checking f...



Part 1: How We Fell Out of Love with Next.js and Back in Love with Ruby on Rails & Inertia.js | Hardcover
This is part 1 of a series documenting Hardcover’s Alexandria release. We recently migrated our codebase from Next.js to Ruby on Rails, and it’s been amazing so far! It was a learning experience, and I’m excited to share some of our takeaways. I’l...

Streaming LLM Responses with Rails: SSE vs. Turbo Streams
In the world of Rails development, integrating large language models (LLMs) like OpenAI's GPT has become increasingly common. One challenge developers face is streaming these responses efficiently to provide a smooth user experience.
This post wi...

Creating Beautiful Charts with JRuby and JFreeChart – Charles Oliver Nutter – Java, Ruby, and JVM guy trying to make sense of it all
I recently returned from RubyKaigi where I had the opportunity to sit down with members of the Japanese Ruby community and show them a little bit of JRuby. One of the items that came up a few times was the difficulty of utilizing external librarie...