Ruby adds experimental support for Rightward assignments

Previously ruby used to support only Rvalue to be assigned to Lvalue. Now, it adds support for Rightward assignment

Ruby introduces find pattern in pattern matching

Find pattern is introduced in pattern matching, which is useful in matching arrays.

How to investigate your build size in Webpack

Let us look at a few handy tools that can help us in analyzing and reducing our bundle size.

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

Rails 6.1.0.alpha allows relations with different SQL comments and Optimizer hints in "or"

ArgumentError used to be thrown when relations with SQL comments and Optimizer hints were combined using or. Rails edge(6.1.0.alpha) fixes that issue.

Rails makes ActiveStorage `web_image_content_types` configurable

Rails added web_image_content_types config option to ActiveStorage, which allows an application to add content types instead of letting the images be transformed into the fallback PNG format.

ACID transactions in every day applications

Breaking down the use of ACID transactions using real-life examples of systems that we employ every day.

Encapsulate each validation error as an Error object

ActiveModel::Error class has changed from Hash based interface to an array of Error objects.

Rails support bulk insert/upsert on relation

Rails 6.1 has added support for bulk insert/upsert on relation to preserve scope values.

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.