Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

Tag: Ruby on Rails

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, 2021October 17, 2022

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 …

My Experience Migrating a Rails API to Crystal and AWS Lambda – Part I The First Iteration on Rails

My Experience Migrating a Rails API to Crystal and AWS Lambda – Part I

The First Iteration on Rails

José Eduardoby José EduardoFebruary 11, 2020January 12, 2023

Hey folks! Today I am going to tell you how was my first project as a Codeminer42 employee. Two colleagues and I were charged of …

Destroying an Association Marked as Read-Only in Rails

Destroying an Association Marked as Read-Only in Rails

Adriano Costaby Adriano CostaDecember 17, 2018January 12, 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, 2018January 12, 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 …

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, 2017January 12, 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, 2017November 11, 2019

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, 2017January 12, 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 …

Halving Response Times: Lessons Learned

Renato Higor Do Nascimentoby Renato Higor Do NascimentoMarch 17, 2017November 11, 2019

Response times under 100 ms are capable of lightening anyone’s heart. It’s even better when you reach that milestone as a side effect of some …

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, 2017January 12, 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 …

Deploy de App Ruby on Rails em VPS

Dmitry Rochaby Dmitry RochaFebruary 7, 2017November 11, 2019

PaaS ou VPS? Ultimamente tenho preferido serviços PaaS como o Heroku, mas muitos clientes preferem uma VPS na maioria das vezes pelo preço fixo, mas …

Posts navigation

1 2 3 Next

Content type

Beginner Intermediate Advanced

Recent Posts

  • Alternative for non-powerful machines to develop mobile applications
  • Symmetric Encryption in JavaScript for PII
  • Mastering Git workflow – Part 2/2
  • Using Mapbox to plan a city: a use case
  • Test mocking in practice with Sinon

Tags

Activerecord API C Clean Architecture Crystal Lang CSS Database Design Patterns DevOps DI Docker Docker Compose Elixir ES6 Flutter Front End Development Functional Programming Git git-stash git-worktree Github JavaScript Node.js Nodejs Package Management Performance Programming Rails React Redux Refactoring Ruby Ruby on Rails Software Architecture Software Development State Management Test Testing Tutorial Typescript Vue Vuejs Vuex Web Development Yarn

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2023 Codeminer42. Powered by WordPress and Bam.