Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

  • #6982 (no title)
  • #6982 (no title)

Tag: Ruby

ActiveRecord Callback Chain: A Cool (and Weird) Edge Case

ActiveRecord Callback Chain: A Cool (and Weird) Edge Case

Luan Gonçalvesby Luan GonçalvesJuly 7, 2021July 4, 2023

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 …

Exploring RSpec – Improving Your Testing Skills

Exploring RSpec – Improving Your Testing Skills

Diego Thomazby Diego ThomazMarch 30, 2021January 8, 2026

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 …

“!” and “?”: Understanding One of Ruby’s Coolest Naming Conventions

“!” and “?”: Understanding One of Ruby’s Coolest Naming Conventions

Luan Gonçalvesby Luan GonçalvesJanuary 29, 2019January 8, 2026

“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, …

Destroying an Association Marked as Read-Only in Rails

Destroying an Association Marked as Read-Only in Rails

Adriano Costaby Adriano CostaDecember 17, 2018October 17, 2023

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 …

Migrating from Paperclip to ActiveStorage My first challenge as an intern

Migrating from Paperclip to ActiveStorage

My first challenge as an intern

Leonardo Negreirosby Leonardo NegreirosNovember 7, 2018May 29, 2023

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 …

Functional Object Composition and MVC Gluing together encapsulation and functional programming

Functional Object Composition and MVC

Gluing together encapsulation and functional programming

Thiago Araújo Silvaby Thiago Araújo SilvaMay 1, 2017May 29, 2023

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 …

Crystal by Numbers Benchmarking Kemal, Ruby on Rails, and Sinatra

Crystal by Numbers

Benchmarking Kemal, Ruby on Rails, and Sinatra

Dmitry Rochaby Dmitry RochaApril 28, 2017May 29, 2023

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% …

Zero to Up and Running a Rails Project only using Docker

Dmitry Rochaby Dmitry RochaMarch 27, 2017

Disclaimer: this post is based on Quickstart: Compose and Rails — Docker the main difference is that I will run everything with my own user …

Refactoring Ruby: From Subclass to Registry From developing a solution to gradually improving it by listening to the pain

Refactoring Ruby: From Subclass to Registry

From developing a solution to gradually improving it by listening to the pain

Thiago Araújo Silvaby Thiago Araújo SilvaMarch 23, 2017May 29, 2023

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 …

Towards Minimal, Idiomatic, and Performant Ruby Code Debunking some popular Ruby idioms

Towards Minimal, Idiomatic, and Performant Ruby Code

Debunking some popular Ruby idioms

Thiago Araújo Silvaby Thiago Araújo SilvaMarch 6, 2017May 29, 2023

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 …

Posts pagination

Previous 1 … 8 9 10 Next
  • English
  • Português (Brasil)

Content type

Beginner Intermediate Advanced

Recent Posts

  • [Dev Weekly #115] Claude Fable 5 Outperforms GPT-5.5 | AI-Generated Code Needs Four Validation Gates | React Compiler Goes 10x Faster in Rust
  • Cinco Coisas Que Seu Agente de IA Gostaria Que Você Soubesse
  • [Dev Weekly #114] Google’s Gemma 4 Changes the Game | Ruby Performance Secrets Exposed | Trust Over Velocity
  • Até onde a IA consegue autovalidar código Rails?
  • How Far Can AI Self-Validate Rails Code?

Tags

AI AI Agents API Authentication Best Practices C Claude Claude Code CSS Database Design Patterns DevOps Docker Elixir Frontend Functional Programming Git Golang HTML Information Security Infrastructure Java JavaScript LLM NextJS Node.js open-source Performance PostgreSQL Programming React React Native Ruby Ruby on Rails Rust Security Software Architecture Software Development SQL Testing TypeScript UI UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.