Rails adds ActiveRecord API for switching multiple database connections

Rails adds ActiveRecord API connects_to and connected_to for switching connections to support multiple databases.

Rails introduces disallowed deprecations in ActiveSupport

Rails has added support to configure disallowed deprecations.

Rails has added a benchmark generator

Rails has added a benchmark generator for scripts to benchmark Rails application.

Rails adds support for if_exists/if_not_exists on remove_column/add_column in migrations

Rails adds support for if_exists/if_not_exists on remove_column/add_column in migrations to silently ignore migrations

Rails 6 adds rails db:system:change command

Rails 6 adds rails db:system:change command to allow switching database configuration

Rails 6 - ActiveSupport Deprecations in Unicode and Chars support in favour of String

Rails 6 has deprecated methods in Unicode and Chars support for ActiveSupport in favor of using ruby 2.3+ String methods directly.

Rails 6.1 adds support for multiple storage services to Active Storage

Rails 6.1 adds support to configure storage services for individual attachment.

Rails adds ActiveRecord::Relation#annotate for adding SQL comments to ActiveRecord::Relation queries

Rails adds ActiveRecord::Relation#annotate for adding SQL comments to ActiveRecord::Relation queries

Ruby 2.7 - Singleton class yield syntax throws a warning

Ruby 2.7 singleton class yield syntax is warned and will be deprecated in Ruby 3.0.

How to pass arguments to methods in ruby and how it affects their arity

Deep dive into different ways of passing arguments to methods and how it affects their arity