Two new properties in CSS - overflow:clip and overflow-clip-marginoverflow: clip and overflow: hidden both do the same job of hiding content that overflows. However, overflow: clip also disables programmatic scrolling. Another property overflow-clip-margin controls how far from the element's edge the clipping begins.
Rails 7 adds `audio` in the metadata for video filesWith the addition of `audio` metadata to video blobs, it will now be possible to check the presence of an audio channel in a video file.
React 17 introduces new JSX transformReact 17 introduces jsx-runtime and jsx-dev-runtime that enables the user to write JSX without importing React.
Rails 7 adds `Enumerable#sole` to return a sole item in the enumerableEnumerable#sole returns the sole item in the enumerable and raises an exception if no items or more than one item is found.
Rails 6.1 adds support for validating numeric values fall in a range using `in:` optionThe `numericality` validation helper now accepts `in:` as an option for which the value must be a range.
Rails 6.1 adds support for destroying dependent associations in the backgroundDestroying 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.