Rails-6

Eager loading Active Storage models to avoid N+1 issues

Removing N+1 queries when we access the Active Storage attachments associated with an ActiveRecord model.

Ruby Hash#transform_keys now accepts a hash that maps existing keys to new keys

Ruby Hash#transform_keys now also accepts a hash that maps the existing hash keys to new keys

Rails adds config rake_eager_load

Rails has added the option to eager load all the registered name spaces in rake tasks.

Rails has added support for automatic database connection switching from primary to the replica

Rails has added support for automatic database connection switching from primary to the replica

Rails 6.1 adds at option to perform_enqueued_jobs test helper

Rails 6.1 has added at option to perform_enqueued_jobs test helper to run only jobs which are scheduled at or before the passed in time

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 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.