June 19, 2025 Yesterday morning, I had a deep and enjoyable technical interview covering a wide range of topics. But there was one moment I can’t forget: I completely fumbled a question about avoiding the N+1 problem in Rails. Maybe it was the lack of coffee ☕ — or just nerves — but my brain … Continue reading 🚨 Erratum: The N+1 Problem in Rails (and How I Redeemed Myself)
Tag: sql
Unlocking the Power of Arel in Ruby on Rails: A Deep Dive into SQL Query Building
December 12, 2024 In the world of Ruby on Rails, ActiveRecord is often the go-to tool for handling database queries. However, when you need more flexibility or need to perform complex queries, Arel becomes a hidden gem. Arel is a SQL query generation library that Rails uses under the hood, but understanding how to leverage … Continue reading Unlocking the Power of Arel in Ruby on Rails: A Deep Dive into SQL Query Building
Mastering ActiveRecord: Advanced Techniques for Ruby on Rails Developers
December 12, 2024 ActiveRecord is the heart of Ruby on Rails, serving as the Object-Relational Mapping (ORM) layer that simplifies database interactions. While many developers are familiar with its basic CRUD operations, mastering its advanced features can significantly enhance your Rails applications. This article dives into some of the more intricate and lesser-known capabilities of … Continue reading Mastering ActiveRecord: Advanced Techniques for Ruby on Rails Developers


