Rails support bulk insert/upsert on relationRails 6.1 has added support for bulk insert/upsert on relation to preserve scope values.
Rails ActionController::Parameters each_pair and each_value returns an enumerator.Rails ActionController::Parameters each_pair and each_value now returns an enumerator when provided without a block.
Rails 6.1 adds support for signed ids to Active RecordRails 6.1 added support for signed ids which are a tamper-proof way of identifying a bearer
Rails 6 adds ActiveJob::TestCase#perform_enqueued_jobs without a blockWith Rails 6, we can use ActiveJob::TestCase#perform_enqueued_jobs without a block to perform jobs in tests
Rails 6.1 adds rescue_from to ActionCable::Connection::BaseThe `rescue_from` on ActionCable::Connection::Base allows us to intercept unhandled exceptions
Rails adds support for annotating HTML output with template file names.Rails 6.1 has added support for adding HTML comments to the rendered output indicating where each template begins and ends.
Rails 6.1 supports `if_not_exists` option for adding indexRails 6.1 added support for if_not_exists option to add_index. The if_not_exists provided to create_table also gets propagated to all indexes getting created in the create_table block.
Using Interactors in RailsInteractors provide a common interface for performing complex user interactions.
Rails adds support for descending order in find_each, find_in_batches and in_batchesRails 6.1 has added support for providing order(ASC/DESC) to batch processing methods like find_each, find_in_batches and in_batches instead of processing records in ascending order always.
Rails adds support for db:rollback:name for multiple database applicationsRails has added support for name option while rollbacking migration for multiple database application