What is Ruby doing on Rails?
Hello, you're reading Infinum Ruby Drops, bringing you the latest Ruby and Rails related news straight to your inbox every week.
Naming: Climbing Towards Abstraction
Just as a writer grinds through word choices, a programmer must struggle with names. The quality of your work depends on the quality of your names.
Read More
Rails
I have written about how our teams are dealing with flaky ruby tests in legacy projects. In this post, I want to show, how we can teach about common testing pitfalls and how to avoid them.
Making Rails scale to millions of requests per minute.
Ruby
Ruby’s toolbox has everything you need.
Bundler 2 did not arrive quietly. It was noticed by almost every CI build failing when running bundle install. As a result, it seems many still avoid Bundler 2 and just use Bundler 1. In this post, I present some ideas on how to get more people to use Bundler 2, and no longer need Bundler 1 which will not be maintained forever.
Beyond Ruby
Ever wish you felt like creating that presentation? Felt like doing that research? Felt like doing the dishes?
We need to acknowledge that, [when we are debugging], we do not already understand the behavior of our code.This sounds like an obvious detail, but we often get it wrong.
Blast from the past
The hacker sits down. It’s been a long time since he worked on this project, so he figures he should probably make sure the tests are passing first.
A few years ago at VideoBlocks we had a major code quality problem: “spaghetti” logic in most files, tons of duplication, no tests and more. Writing new features and even minor bug fixes required a couple of Tums at best and entire bottles of Pepto-Bismol and Scotch far too often. Our WTFs per minute were sky-high.
Repository of the week
ProgressBar is a text progress bar library for Ruby.