Articles by Aditya Narsapurkar
Apr 14, 2021
Rails 7 ActiveJob adds the ability to communicate enqueue failures to callers
ActiveJob's `perform_later` method provides a clean way of communicating enqueued job failures to the caller method, allowing developers to handle errors more efficiently.
May 26, 2020
Rails ActionController::Parameters each_pair and each_value returns an enumerator.
Rails ActionController::Parameters each_pair and each_value now returns an enumerator when provided without a block.
Mar 30, 2020
Rails ActiveRecord::Relation#pick now uses already loaded results
Rails ActiveRecord::Relation#pick now uses already loaded results instead of making a new query everytime.
Mar 4, 2020
Rails adds jitter to ActiveJob::Exceptions.retry_on
Rails adds jitter to ActiveJob::Exceptions.retry_on to cater to thundering herd effect
Jan 20, 2020
Ruby 2.7 allows placing of comment lines between fluent dots
Ruby 2.7 allows placing of comment lines between chained methods. It facilitates easier debugging and also allows adding a separate comment for one or more chained methods.
Jan 15, 2020
Webpacker is the new default in Rails 6
Webpacker is the new default JavaScript compiler instead of Sprockets in Rails 6
Oct 31, 2019
Rails 6 adds guard against DNS rebinding attacks
Rails 6 adds guard against DNS rebinding attacks by allowing whitelisting of hosts in config
Oct 14, 2019
Ruby adds Array#intersection method
Ruby adds Array#intersection as a more readable alias for Array#&
Sep 3, 2019
Rails 6 upgrades to rails notes command and introduction of Rails::Command::NotesCommand
Rails 6 introduces several upgrades to rails notes command and adds Rails::Command::NotesCommand to be used by rake notes under the hood.