The Modular Monolith: Rails Architecture
One of the hardest things about building a startup is handling the rapid growth in team and technology. The best way to build software with a team of t.
You Can't Save Everyone: Some Exceptions Should Be Left Alone
I take a look at a fun case of permissive error handling that causes a Rails controller to accidentally catch an exception from RSpec....
Introducing Fir, the Friendly, Interactive Ruby REPL | nasseri.io
I haven’t been posting here much because most of my free time has been spent working on a ruby REPL that I call Fir, which stands for friendly-interact.
Reducing Memory Usage in Ruby
I’ve been working on building a compacting garbage collector in Ruby for a while now, and one of the biggest hurdles for implementing a compacting GC i.
Stimulus JS Framework Introduction (Example) - GoRails
Tracking Object Allocation in Ruby
Because object allocation has an impact on performance, it's important to understand when exactly a new object is created and why....
Tutorial: Distributed Tracing in Ruby with OpenTracing
However, distributed tracing - which connects a transaction trace across microservices - is getting a lot easier. In this short tutorial, I'll show how.
Upgrading a Rails application incrementally
One of the major projects I led at my last Rails gig was upgrading our application from Rails 3.2 to Rails 4.2. I'd like to share some lessons I learne.
How do Ruby
There are probably some mistakes in this post (as research for this post I read parts of the code for 14 different profiling libraries and most of thos.
A DSL for Field-level Rails Cache Invalidation
In modern web development, caching is a quick and powerful way to speed things up. When done right, caching can bring significant improvements to your .