Codeminer42's Engineering Blog
Ruby

Functional Object Composition and MVC
I just read a great blog post on the internet about MVC not being object-oriented, and I could not agree more — after all, we don’t peel an apple the…
Crystal by Numbers
TL;DR Kemal delivers 8.3x more requests than Rails and 1.5x than Sinatra, using only 15MiB (against 110MiB in Rails and 47MiB in Sinatra) and 56% of CPU (against 109% in…
Zero to Up and Running a Rails Project only using Docker
Disclaimer: this post is based on Quickstart: Compose and Rails — Docker the main difference is that I will run everything with my own user and cache the gems installations.…
Refactoring Ruby: From Subclass to Registry
My team was given a particularly laborious task: implement responsive images throughout a legacy Rails application. Back then, the app was sending disproportionally large image files over to web browsers…
Towards Minimal, Idiomatic, and Performant Ruby Code
I try to embrace a particular way of working with code: it should be minimal, idiomatic, and performant by default. Sometimes it is necessary to trade performance for readability, or…