Ruby

Rails 6 adds guard against DNS rebinding attacks

Rails 6 adds guard against DNS rebinding attacks by allowing whitelisting of hosts in config

Ruby 2.7 adds inherit as an optional argument to Module#autoload?

Ruby 2.7 has added inherit as an optional argument to Module#autoload? to check if a given class or module has an autoload defined for a certain constant

Ruby Lazy Enumerators

Ruby support for lazy loading enumerators

Ruby 2.7 adds UnboundMethod#bind_call method

Ruby 2.7 has added bind_call method to UnboundMethods to avoid the allocation from intermediate Method object

Ruby adds Array#intersection method

Ruby adds Array#intersection as a more readable alias for Array#&

Distance calculation in Ruby using RGeo - Geospatial library for Ruby

Distance/Geospatial calculations in Ruby using RGeo.

Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments

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

Ruby 2.7 adds Enumerator::Lazy#eager

Ruby 2.7 added `eager` method to the Enumerator::Lazy class

Ruby 2.7 adds Integer#[] to support range values

Ruby 2.7 has extended `Integer#[]` to support range arguments which makes expressions cleaner and more readable

What's new in Interactive Ruby Shell (IRB) with Ruby 2.7

List of new and experimental features in the Interactive Ruby Shell(IRB) which are introduced with Ruby 2.7.