May 18, 2021
Ruby 3.1 adds Array#intersect? method
Ruby Array#intersect? method will return true or false based on common elements present in the two arrays.
May 14, 2021
React 17 internally uses the browser's focusin and focusout events for onFocus and onBlur events
React's onFocus and onBlur events have switched to using the native focusin and focusout events under the hood.
May 12, 2021
Ruby 3.1 evaluates multiple assignments from left to right
Ruby changes the evaluation order for multiple assignments from left to right making it consistent with single assignment evaluation order.
May 11, 2021
Rails 7 ActiveSupport::Cache::MemCacheStore now accepts an explicit nil for addresses argument
Those migrating from :dalli_store to :mem_cache_store can now pass an explicit nil for its addresses argument.
May 5, 2021
Rails 7 transforms a Ruby hash into HTML attributes for ERB interpolation
Rails 7 adds `tag.attributes`, which transforms a Hash into HTML Attributes, ready to be interpolated into ERB.
May 4, 2021
Rails 7 adds disable_joins: true option to has_many :through association
In multiple database applications, associations can't join across databases. When set, Rails makes 2 or more queries rather than using join for associations.
Apr 27, 2021
Rails 7 allows constructors on has_one :through associations
Rails 7 allows build_association and create_association on has_one :through associations.
Apr 23, 2021
React 17 adds support for KeyboardEvent.code property to SyntheticEvent
Starting with React 17, KeyboardEvent.code property is available on React keyboard event.
Apr 21, 2021
Rails 7 adds invert_where method to ActiveRecord
Rails 7 adds invert_where method that will invert all scope conditions.
Apr 20, 2021
Rails 7 adds `Enumerable#in_order_of` to put an enumerable in a certain order by a key.
With the addition of the `in_order_of` method, we can order enumerable based on the provided series.