Codeminer42's Engineering Blog
Ruby

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…
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…
“!” and “?”: Understanding One of Ruby’s Coolest Naming Conventions
“Well, that’s quite some symbols you got there ♨_♨” - You, after reading this article’s title. It was a calm Friday afternoon here at CodeMiner42, when one of my co-workers…
Destroying an Association Marked as Read-Only in Rails
Read-only is a boolean setting. When true, it prevents an Active Record instance to be updated or destroyed. Although very helpful, there are a few cases where you want to…
Migrating from Paperclip to ActiveStorage
First of all, I’m no expert in programming. In fact, I started with Ruby on Rails about one and a half month ago with the beginning of my internship at…