Mar 30, 2020
Rails ActiveRecord::Relation#pick now uses already loaded results
Rails ActiveRecord::Relation#pick now uses already loaded results instead of making a new query everytime.
Mar 24, 2020
Rails [attribute_name]_previously_changed? accepts :from and :to arguments
Rails Active Model Dirty method [attribute_name]_previously_changed? now accepts :from and :to arguments just like [attribute_name]_changed?
Mar 18, 2020
Rails - Allows to specify schema cache path in database configuration file
Rails now exposes a new configuration for specifying the location of the schema cache file. This can be done in database.yml using schema_cache_path key.
Mar 17, 2020
Rails has added support in Action Cable to unsubscribe from specific stream
Rails adds ActionCable::Channel#stop_stream_from and ActionCable::Channel#stop_stream_for methods to allow user to unsubscribe from specific stream
Mar 10, 2020
Rails adds round_mode parameter support to number helpers
Rails has added :round_mode parameter support to number helpers
Mar 9, 2020
Ruby 2.7 - Setting $ special variables to non-nil value is now warned
In Ruby 2.7, setting special variable $, $; $/ $\ to non-nil values will now show a deprecated warning
Mar 6, 2020
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.
Mar 4, 2020
Rails adds jitter to ActiveJob::Exceptions.retry_on
Rails adds jitter to ActiveJob::Exceptions.retry_on to cater to thundering herd effect
Feb 26, 2020
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
Feb 25, 2020
Rails has added strict loading mode to prevent lazy loading
Rails has added strict loading mode to prevent lazy loading of associations and help avoid N + 1 queries