Rohit Kumar

Rohit Kumar

Rohit is a Senior Software Engineer with 11 years of experience in Ruby on Rails. He is one of Saeloun’s key engineers, known for his deep technical insights and impact beyond just code.
authorImg Rohit Kumar

ACID transactions in every day applications

Breaking down the use of ACID transactions using real-life examples of systems that we employ every day.
authorImg Rohit Kumar

Rails 6.1 Adds Signed IDs to Active Record

Rails 6.1 added support for signed ids which are a tamper-proof way of identifying a bearer
authorImg Rohit Kumar

Ways for reducing Heroku slug size

Techniques for reducing Heroku slug size for Rails applications
authorImg Rohit Kumar

Rails Deprecates return/break in Transactions

Rails has disallowed using return, break and throw for exiting early from a transaction and having it committed.
authorImg Rohit Kumar

Rails Adds Strict Loading to Prevent Lazy

Rails has added strict loading mode to prevent lazy loading of associations and help avoid N + 1 queries
authorImg Rohit Kumar

Rails Adds Automatic Database Connection

Rails has added support for automatic database connection switching from primary to the replica
authorImg Rohit Kumar

Ruby Method Arguments and Arity Explained

Deep dive into different ways of passing arguments to methods and how it affects their arity
authorImg Rohit Kumar

Fixing N+1 Queries in Active Record

Overcome N+1 issues in Active Record using includes, preload, eager_load, pluck, select, and exists? methods.
authorImg Rohit Kumar

Bind Parameters in Active Record for Security

Using bind parameters in Active Record for improved SQL security and performance
authorImg Rohit Kumar

Ruby 2.7 Deprecates Hash to Keyword

Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments in preparation for real keyword arguments in Ruby 3.0