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.
Chernobyl: The True Cost Of Technical Debt
A comparison of technical debt in the Chernobyl disaster and software development.
Read More
Rails
Here’s a small tutorial on how to create a Rails middleware to change the log level at runtime.

The checklist I wish existed when I discovered the complexities of Internationalising Devise.
Ruby
A pipeline operator has been added to Ruby, but not quite the one we'd expected.

LightService gives us a simple abstraction to build out our business logic using the railway programming pattern.
Beyond Ruby
The last few days I have been scraping the internet looking at examples for each of the principles. I wanted to make the examples as high level as possible so the concepts are what stand out, not the syntax.
When it comes to performance of an application, databases are highly important and effective. And one of the key factor in database optimisation is an index.
Blast from the past
Your test suite used to be lightning fast but now it's starting to feel a bit sluggish. Before adding CI parallelization, let's see if there's any clutter to remove.

In this post, we’ll explain how we safely did one large migration of our hundreds of millions of Subscriptions objects.
Gem of the week
Slow tests waste your time making you less productive. The TestProf toolbox aims to help you identify bottlenecks in your test suite.