Sep 2, 2020
Rails adds a minimal flag to generate a new application
Rails 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
Aug 3, 2020
Rails 6.1.0.alpha allows relations with different SQL comments and Optimizer hints in "or"
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.
Jul 27, 2020
Rails makes ActiveStorage `web_image_content_types` configurable
Rails added web_image_content_types config option to ActiveStorage, which allows an application to add content types instead of letting the images be transformed into the fallback PNG format.
Jul 23, 2020
ACID transactions in every day applications
Breaking down the use of ACID transactions using real-life examples of systems that we employ every day.
Jun 17, 2020
Encapsulate each validation error as an Error object
ActiveModel::Error class has changed from Hash based interface to an array of Error objects.
Jun 10, 2020
Rails support bulk insert/upsert on relation
Rails 6.1 has added support for bulk insert/upsert on relation to preserve scope values.
May 26, 2020
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.
May 20, 2020
Rails 6.1 adds support for signed ids to Active Record
Rails 6.1 added support for signed ids which are a tamper-proof way of identifying a bearer
May 19, 2020
Rails 6 adds ActiveJob::TestCase#perform_enqueued_jobs without a block
With Rails 6, we can use ActiveJob::TestCase#perform_enqueued_jobs without a block to perform jobs in tests
May 19, 2020
Rails 6.1 adds rescue_from to ActionCable::Connection::Base
The `rescue_from` on ActionCable::Connection::Base allows us to intercept unhandled exceptions