Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

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

Tag: Ruby

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 …

Cracking the Box Open with Module Factories

About the lesser-known Ruby Module Factories

Thiago Araújo Silvaby Thiago Araújo SilvaDecember 19, 2016

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 RochaNovember 17, 2016

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

Go Full Stack Rails: The Backend Part 2 Building a timeline wrapper to isolate external dependencies

Go Full Stack Rails: The Backend Part 2

Building a timeline wrapper to isolate external dependencies

Thiago Araújo Silvaby Thiago Araújo SilvaOctober 20, 2016May 30, 2023

Welcome! This series of blog posts is an endeavor where I walk the reader through building a real, albeit small full-stack application with Rails and …

Posts pagination

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

Content type

Beginner Intermediate Advanced

Recent Posts

  • [Dev Weekly #109] GitHub Copilot usage polemics | Claude for Creative Work Goes Nuclear with Adobe & Blender Connectors | Zed 1.0
  • Kamal e 1Password: Um Fluxo De Deploy De Secrets Mais Seguro
  • Privacidade em Rails
  • Privacy on Rails
  • Kamal and 1Password: A Safer Deploy Secret Flow

Tags

AI AI Agents API Backend Best Practices C Claude 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 Wordpress
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.