phanindra.hashnode.devActiveJob Object Mutability: The Photocopy ProblemOne of the most confusing aspects of ActiveJob custom serializers isn't how to create them—it's understanding that deserialized objects are completely new instances. Think of it like photocopying a document. The copy has the same content, but it's no...Aug 21, 2025·3 min read
phanindra.hashnode.devExtending ActiveJob with Custom Serializers: A Practical GuideWhen working with ActiveJob in Rails, you might encounter a frustrating limitation: not all Ruby objects can be passed as job arguments. By default, ActiveJob only supports basic types like strings, numbers, booleans, arrays, hashes, and Active Recor...Aug 19, 2025·5 min read
phanindra.hashnode.devMastering Arel.sql in Rails: When ActiveRecord's DSL Isn't EnoughIntroduction Ruby on Rails' ActiveRecord is renowned for its elegant DSL that shields developers from writing raw SQL. However, there are times when you need to break through this abstraction layer and write custom SQL. That's where Arel.sqlcomes in ...Aug 13, 2025·9 min read
phanindra.hashnode.devUnderstanding Joins vs Left Outer Joins in Rails: A Developer's GuideWhen working with ActiveRecord in Rails, understanding the difference between inner joins and left outer joins is crucial for writing efficient queries and getting the data you actually need. Let's explore these concepts with practical examples using...Aug 8, 2025·5 min read
phanindra.hashnode.devThe Hidden Danger of Private Method Calls in Ruby: Why 'send' Can Break Your CodeThe Problem When working with Ruby modules and inheritance, developers often use the sendmethod to call private methods across different classes. While this might seem like a clever workaround, it can lead to subtle bugs and maintenance issues. The I...Jul 8, 2025·2 min read