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.
Error Tracking from Scratch
In this episode, we look at creating a middleware to track errors to publish to another error "from scratch" error monitoring application.
Read More
Rails
I'll describe the use cases for using dynamic config variables that can be modified on the fly. I'll also share a simple way to start using them in your app without including additional gem dependencies.
Learn how to implement OTP second factor authentication in a Rails app using the ROTP gem.

Ruby
Someone on Reddit asked if it was possible to turn off overflow checking on integer arithmetic in Ruby. They said that they could guarantee that their arithmetic would not overflow, and therefore they’d like to not pay the cost for a pointless check.
a = 1
b = 2
c = {a:, b:}
#=> {:a=>1, :b=>2}
Blast from the past
When we switched to a new search query parser in September 2020, you'd never know that anything had changed. This is an account of the rigorous testing that happened behind the scenes to ensure a seamless transition.
I do the bulk of my code reviews from the command line, especially when reviewing larger changes. I've built up a number of tools and config settings that help me dig into the nuances of the code I'm reviewing, so that I can understand it better than if I were just browsing online.
Beyond Ruby
Learn how to build an automated content moderation workflow with Mux Video and Hive.ai (including an open source example).

How tenured engineers helped me along my path to senior engineering.
Gem of the week
The PostgreSQL Global Development Group today announced the release of PostgreSQL 14, the latest version of the world’s most advanced open source database.