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.
Increased backend errors - GitLab.com Down (#2885)
Database load spiked and this has dramatically increased error rates and degraded times on responses. Automatic re-indexing was enabled over the weekend. A re-index of the routes table changed the statistics on the table. This resulted in much less efficient queries there.
Read More
Before Rails 6.1, batch processing methods like find_each, find_in_batches and in_batches didn’t support the ORDER BY clause. By default the order was set to id ASC.
Below is how I set up a fresh Rails application for testing.

Explore the Ruby code behind popular solutions to learn how they were created. Improve your code by applying those patterns in your projects and libraries.

I've been doing this for a while now, so I've heard lots of guesses as to why Ruby isn't faster. I refuse to say "slow", because Ruby isn't meaningfully slower than it's close competition (exception Javascript, but I would rather say 'JS is fast' than 'Ruby is slow').
Beyond Ruby

Farhan Thawar (VP of Engineering at Shopify) and Ben Orenstein (CEO of Tuple) address common objections to pair programming, how to be a great pair, whether pairing obviates code review, introducing the practice to new teams, and how Shopify is continuing its pairing culture in a digital-first world.

We think that Tech Debt is just bad code done by reckless people, here's a bigger picture view of what that really means in a Sustainable Software era.
Why TOAST is the best thing since sliced bread.
Blast from the past
The value of Root Cause Analysis is in the process: Even if you do not identify specific dominoes in your failure cascade that you could remove to protect yourself in the future your investigation may identify things that you can improve.
“Error Budget”: How much infrastructure you’re allowed to set on fire to learn the meaning of the word “heiß”. Every organization has an error budget, but most don’t plan for it.
Repository of the week
If at first you don’t succeed, call it version 1.0. RuboCop’s development started exactly 7 and half years ago.