Codeminer42's Engineering Blog
Ruby

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…
Cracking the Box Open with Module Factories
Metaprogramming is one of Ruby’s most powerful, intriguing and hard-to-grasp features. Ruby has a deep kind of truth that I could not yet find in any language, similar to the…
Instalação do Docker e docker-compose
Docker é uma ferramenta para isolamento de software num outro sistema de arquivos que tenha tudo que precisa para rodar: arquivos binários, arquivos de configuração, ferramentas do sistema, etc. Assim…
Go Full Stack Rails: The Backend Part 2
Welcome! This series of blog posts is an endeavor where I walk the reader through building a real, albeit small full-stack application with Rails and ES6. There are no cute…