Rails Deprecates db:structure Tasks
Rails deprecates db:structure:load and db:structure:dump tasks in favor of db:schema tasks with schema_format config.Ruby 3.0 adds `Hash#except` and `ENV.except`
Ruby 3.0 adds `Hash#except` to return a new hash that includes everything from the original hash except the given keys. `ENV` also gets support for `except`.Rails Allows Prepending Concerns
This blog post discusses the concept of prepending in Ruby and prepending concerns with the help of Active Support in Rails.Rails Adds Default Value to Rich Text Area
Rails has added support for adding a default value to the form field of type rich text area.Ruby Adds Leading Arguments with Forwarding
... operator was limited to forwarding arguments. With Ruby 3.0, it can forward the arguments along with the leading arguments.Rails db:migrate:name Behavior Changes
Rails now dumps schema and resets ActiveRecord::Base connection when running db:migrate:name.Ruby 3.0 Adds Symbol#name Method
Ruby has added `Symbol#name`, which returns the name of the symbol if it is named. The returned string can not be modified.Rails Adds --minimal Flag for New Apps
Rails introduces --minimal flag to generate a barebones application without extra frameworks.Ruby Adds Rightward Assignment Support
Previously ruby used to support only Rvalue to be assigned to Lvalue. Now, it adds support for Rightward assignmentRuby Adds Find Pattern in Pattern Matching
Find pattern is introduced in pattern matching, which is useful in matching arrays.Rails 6.1 Allows SQL Comments in OR Queries
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.Ruby 3.0 Changes Proc Autosplatting Behavior
Ruby 3.0 changed the inconsistent behavior for autosplatting, when rest argument and keyword arguments are present for a Proc