Rails allows a module with extend ActiveSupport::Concern to be prependedThis blog post discusses the concept of prepending in Ruby and prepending concerns with the help of Active Support in Rails.
Ruby adds support for forwarding arguments to a method, along with the leading arguments... operator was limited to forwarding arguments. With Ruby 3.0, it can forward the arguments along with the leading arguments.
Rails adds support for adding a default value to the rich text areaRails has added support for adding a default value to the form field of type rich text area.
Ruby adds `Symbol#name` to return frozen string corresponding to the symbol nameRuby has added `Symbol#name`, which returns the name of the symbol if it is named. The returned string can not be modified.
Changes to behavior in rails db:migrate:name commandRails has made changes to dump the schema(or structure) of the database when executing the command rails db:migrate:name. The command will also reset the `ActiveRecord::Base` connection after its execution.
Rails adds a minimal flag to generate a new applicationRails used to come with a lot of frameworks by default, when we generate a new application. Now Rails introduced minimal flag to generate an application with only bare minimum frameworks
Ruby adds experimental support for Rightward assignmentsPreviously ruby used to support only Rvalue to be assigned to Lvalue. Now, it adds support for Rightward assignment
Ruby introduces find pattern in pattern matchingFind pattern is introduced in pattern matching, which is useful in matching arrays.
How to investigate your build size in WebpackLet 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 autosplattingRuby 3.0 changed the inconsistent behavior for autosplatting, when rest argument and keyword arguments are present for a Proc