non-tech

What is a poem?

I have never been able to connect with English poetry that doesn’t rhyme. This is only limited to my understanding of English poetry, mind you. When it comes to Urdu...

Book review: Never let me go - Kazuo Ishiguro

I was recently given 2 books as a gift by a close friend, who is a great fan of Murakami’s. The books in question are “Norwegian woods” by Murakami and...

tech

The Rails `delegate` method

In Ruby on Rails, you often encounter scenarios where you need to call methods on associated objects through their parent objects. Method chaining for associations, however, can lead to verbose...

Fixing the “Already Initialized Constant Net::ProtocRetryError” Warning in Ruby

If you’ve encountered the following warning in your Ruby code:

A Deep Dive into Rails Loading Patterns: Eager, Lazy, and Strict Loading Explained

Building efficient web applications often comes down to how we handle data loading. In Ruby on Rails, choosing the right strategy for loading records and their associations can significantly impact...

Ruby Splat(*) and Double Splat(**) Operators

Ruby offers powerful operators that allow flexibility when working with arguments in methods or assignments. Two of the most commonly used operators are the splat (*) and the double splat...