Aditya Narsapurkar

Aditya Narsapurkar

Aditya is a Senior Software Developer who combines his expertise in Ruby on Rails and ReactJS to create highly performant and scalable web applications.
• authorImg Aditya Narsapurkar

Rails 7 ActiveJob Enqueue Failure Handling

Rails 7 lets perform_later accept a block to handle enqueue failures, with successfully_enqueued? and enqueue_error for better error handling.
• authorImg Aditya Narsapurkar

Rails Parameters each_pair/each_value

Rails ActionController::Parameters each_pair and each_value now returns an enumerator when provided without a block.
• authorImg Aditya Narsapurkar

Rails Relation#pick Uses Loaded Results

Rails ActiveRecord::Relation#pick now uses already loaded results instead of making a new query everytime.
• authorImg Aditya Narsapurkar

Rails Adds Jitter to ActiveJob retry_on

Rails adds jitter to ActiveJob::Exceptions.retry_on to cater to thundering herd effect
• authorImg Aditya Narsapurkar

Ruby 2.7 Allows Comments Between Fluent Dots

Ruby 2.7 allows placing of comment lines between chained methods.
• authorImg Aditya Narsapurkar

Webpacker is the new default in Rails 6

Webpacker is the new default JavaScript compiler instead of Sprockets in Rails 6
• authorImg Aditya Narsapurkar

Rails 6 Guards Against DNS Rebinding Attacks

Rails 6 adds guard against DNS rebinding attacks by allowing whitelisting of hosts in config
• authorImg Aditya Narsapurkar

Ruby adds Array#intersection method

Ruby adds Array#intersection as a more readable alias for Array#&
• authorImg Aditya Narsapurkar

Rails 6 Upgrades to rails notes Command

Rails 6 introduces several upgrades to rails notes command and adds Rails::Command::NotesCommand to be used by rake notes under the hood.