Blogs

Rails async queries by example - Honeybadger Developer Blog
First, let's make sure we understand what the words "synchronous" and "asynchronous" mean. When something is executed synchronously, it means that the work is connected, or dependent in some way, often requiring one task to be completed before the...



Ruby "Thread Contention" is simply GVL Queuing | Island94.org
There’s been a ton of fantastic posts from Jean Boussier recently explaining application shapes, instrumenting the GVL (Global VM Lock), and thoughts on removing the GVL. They’re great reads!
For the longest time, I’ve misunderstood the phrase “t...

Ruby on Rails on WebAssembly, the full-stack in-browser journey | web.dev
Ruby on Rails' famous blog in 15 minutes now runs right in your browser thanks to WebAssembly.Imagine running a fully functional blog in your browser—not just the frontend, but the backend, too. No servers or clouds involved—just you, your browser...

Rails Database Migrations Best Practices - FastRuby.io | Rails Upgrade Service
Database migrations are designed to be temporary. They serve as a bridge to implement incremental changes but aren’t meant to stick around indefinitely. Once they’re run, particularly in a production environment, they’ve done their job. The schema...

Better Know A Ruby Thing: Singleton Classes – Noel Rappin Writes Here
It is time to Better Know what is perhaps the Ruby-iest of Ruby things, a feature that didn’t even have an official name for several years, despite being critical to Ruby’s Object-Oriented semantics. (It only just now occurs to me that there was n...

