Blogs

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

Train Your Own LLM: A Deep Dive with Ruby - DEV Community
Ruby, renowned for its elegant syntax and focus on developer happiness [3], has carved a strong niche in web development, powering major platforms like Shopify, GitHub, and Airbnb [3]. Ruby on Rails, its flagship framework, emphasizes "convention ...

Introducing MonkeysPaw - a prompt-driven web framework in Ruby
Meet MonkeysPaw: a web framework where all the pages are prompts and what you see is whatever the LLM thinks you meant. Welcome to the first installment of “Works on Your Machine” where I’m sharing things that have graduated beyond just working on...


Let there be docs! Generating an OpenAPI schema across the Rails stack
In API development, documentation is often treated as an afterthought—something tackled once the code’s written and tested. But there’s a growing movement advocating for a documentation-first approach, where API specifications are crafted before a...