Nishant Samel

Nishant Samel

Nishant is a Senior Software Developer with 12+ years of experience, passionate about building software and contributing to open source. He has contributed to projects like Rails and Ruby CoffeeScript, and enjoys reading and outdoor activities in his free time.
authorImg Nishant Samel

ActiveRecord::Base#pluck adds support for hash values in Rails 7.2

ActiveRecord pluck and pick can accept hash values for specifying columns from Rails 7.2
authorImg Nishant Samel

Rails adds `authenticate_by` method when using `has_secure_password`

Rails adds `authenticate_by` method that helps mitigate timing-based enumeration attacks.
authorImg Nishant Samel

Rails 7 adds previously_persisted? method to ActiveRecord

Rails 7 adds previously_persisted? method to check an object previously existed in the database and presently deleted.