Articles by Prasad Walvekar
Jul 1, 2021
React 17 introduces new JSX transform
React 17 introduces jsx-runtime and jsx-dev-runtime that enables the user to write JSX without importing React.
May 26, 2021
Rails 7 adds `Enumerable#sole` to return a sole item in the enumerable
Enumerable#sole returns the sole item in the enumerable and raises an exception if no items or more than one item is found.
Feb 5, 2021
Rails 6.1 adds support for validating numeric values fall in a range using `in:` option
The `numericality` validation helper now accepts `in:` as an option for which the value must be a range.
Nov 18, 2020
Rails 6.1 adds support for destroying dependent associations in the background
Destroying multiple layered hierarchy of associated objects can be time consuming and might result in a server timeout error. With Rails adding support for dependent associations to be deleted in the background, this issue is addressed.