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.
Active Record, nice and blended
Active Record restates the traditional question of how to separate persistence from domain logic: what if you don’t have to?
Read More
Rails
The "current pattern" is a technique that allows you to access some per-request data easily without having to explicitly pass it around everywhere. The current pattern, used judiciously, will help clean up your code and make your life swell!
PostgreSQL database locks usually work seamlessly until they don't. Before your Rails app dataset and traffic reach a certain scale, you're unlikely to face any locks-related issues. But if your app suddenly slows down to a crawl, deadlocks likely are to blame. In this blog post, I'll describe how to monitor database locks and propose best practices to prevent them from causing issues.
In this series of blog posts, I will zero in on some of the exciting new features and improvements in the upcoming minor release of Rails, version 7.1.
Ruby
The Ruby community has lost a giant. As a programmer, I always feel as if I’m standing on the shoulders of giants. Chris Seaton was one of those giants.
IRB 1.6 has been released and will become Ruby 3.2's built-in IRB version.
Blast from the past
My experience of migrating from Paperclip to Active Storage on a production site.

Beyond Ruby
A few weeks back, I was woken up at 4:30am by my wonderful 1-year-old daughter. I found I had a Twitter DM from my internet-friend Jon Yongfook, and it was sent just a few minutes prior. It turned out Jon was experiencing a DDoS attack. 

I never used to pair program, and then I spent four months on a pair-by-default team. Here's what I learned.