Codeminer42's Engineering Blog
Ruby on Rails

This is the way… the Callable Way
Hello, fellow readers! Once again, we are here to talk about some neat Ruby features to make your perfect service/operation class. This time, about the Callable Pattern and how it…
Upgrading Rails: Steps to a Smooth Transition
Upgrading a Ruby on Rails application may sound like a daunting task, but fear not! This guide presents a strategic approach to handling a Rails upgrade that will make the…
ActiveRecord Callback Chain: A Cool (and Weird) Edge Case
Image by jcomp Well, it's been a while. After a lot of time... I'm back! ( ̄▽ ̄)/ If you haven't read my last post, give it a look here: “!” and…
Optimizing Rails API JSON generation
JSON has become a ubiquitous data transfer format for web APIs. Whether you're working on a third-party integration, or endpoints to serve data for rich clients (single page application, mobile…
Exploring RSpec – Improving Your Testing Skills
Testing our apps has become mandatory these days. For an app to be considered reliable it must have 95% or so of test coverage. Having that much coverage gives us…