Ruby

Ruby 3.0 - Procs accepting a single rest argument and keyword arguments are no longer subject to autosplatting

Ruby 3.0 changed the inconsistent behavior for autosplatting, when rest argument and keyword arguments are present for a Proc

Ruby adds experimental support for end-less method definition

Ruby has added a new experimental syntax for defining single-line methods without using the end keyword.

Heredocs and how to use them in Ruby and Rails

What are heredoc and different ways to use them in Ruby and Rails.

Rails adds round_mode parameter support to number helpers

Rails has added :round_mode parameter support to number helpers

Ruby 2.7 - Setting $ special variables to non-nil value is now warned

In Ruby 2.7, setting special variable $, $; $/ $\ to non-nil values will now show a deprecated warning

Ruby 2.7 removes taint checking mechanism

Ruby 2.7 access and setting of $SAFE is now always warned. $SAFE will become a normal global variable in Ruby 3.0

Ruby 2.7 - Singleton class yield syntax throws a warning

Ruby 2.7 singleton class yield syntax is warned and will be deprecated in Ruby 3.0.

How to pass arguments to methods in ruby and how it affects their arity

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

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.

Ruby 2.7 fixed the parsing for multiple assignment with `rescue` modifier

Ruby 2.7 fixed how the `rescue` modifier was parsed in multiple assignment statement.