Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

Tag: Ruby

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

Luan Gonçalvesby Luan Gonçalves29/01/201911/11/20191

“!” and “?”: Understanding One of Ruby’s Coolest Naming Conventions “Well, that’s quite some symbols you got there *♨_♨” – You, after reading this article’s …

Destroying an Association Marked as Read-Only in Rails

Adriano Costaby Adriano Costa17/12/201811/11/20190

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

Leonardo Negreirosby Leonardo Negreiros07/11/201811/11/20190

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

Thiago Araújo Silvaby Thiago Araújo Silva01/05/201711/11/20190

This is not just a fragile hack, it’s a powerful glue! I just read a great blog post on the internet about MVC not being …

Crystal by Numbers

Benchmarking Kemal, Ruby on Rails, and Sinatra

Dmitry Rochaby Dmitry Rocha28/04/201711/11/20190

Run! 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 …

Zero to Up and Running a Rails Project only using Docker

Dmitry Rochaby Dmitry Rocha27/03/201711/11/20190

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

Thiago Araújo Silvaby Thiago Araújo Silva23/03/201711/11/20190

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

Thiago Araújo Silvaby Thiago Araújo Silva06/03/201711/11/20190

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 …

Cracking the Box Open with Module Factories

About the lesser-known Ruby Module Factories

Thiago Araújo Silvaby Thiago Araújo Silva19/12/201611/11/20190

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 …

Instalação do Docker e docker-compose

Roteiro de instalação do Docker e docker-compose no Linux.

Dmitry Rochaby Dmitry Rocha17/11/201612/11/20190

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

Posts navigation

1 2 Next

Recent Posts

  • Vim Buffers, Windows and Tabs  – An Overview
  • The Monotonic Clock and Why You Should Care About It
  • Multiple Foreign Keys for the Same Relationship in Rails 6
  • My Experience Migrating a Rails API to Crystal and AWS Lambda – Part II
  • My Experience Migrating a Rails API to Crystal and AWS Lambda – Part I

Archives

  • March 2021
  • February 2021
  • June 2020
  • February 2020
  • December 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • June 2018
  • April 2018
  • March 2018
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • July 2015
  • March 2015

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2021 The Miners. Powered by WordPress and Bam.