Blogs

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...

Inline RBS comments support for Sorbet | Rails at Scale
Sorbet is a type checking tool for Ruby that enables developers to gradually add static type annotations, improving code stability and reliability by catching errors early and facilitating refactoring. It also includes a language server, enhancing...


Making the case for Rails monoliths over microservices
A cautionary tale of a CTO and microservices. Here are some considerations that should be made before splitting a Rails monolith.Once upon a time, a small company was running an MVP Ruby on Rails monolith. Things seemed to be going well. Then one ...

The Unexpected DB Connection Pool Leak in Our Rails App
Everything looked fine — until it wasn’t. Out of nowhere, our worker tier started throwing this error:
could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pooled connections were in use
We weren’t doing an...