Rails-6

Rails 6 adds support for multi environment credentials

Rails 6 has added support for multi environment credentials to manage environment specific credentials

Rails 6.1 adds HTTP Feature Policy

Rails 6.1 has added support for configuring the Feature-Policy HTTP header which allows us to control certain Web APIs and browser features like camera, geolocation, etc.

Rails 6 adds db:seed:replant task

Rails 6 adds db:seed:replant task that truncates tables of each database for the current environment and then loads the seed data.

Rails 6 adds dig method to ActionDispatch::Request::Session

Rails 6 has added dig method to ActionDispatch::Request::Session to easily traverse session object's nested hashes

Rails 6 - Custom Serializers for ActiveJob arguments

Rails 6 introduces ability to provide custom serialization of ActiveJob arguments.

Rails 6 adds Hash#deep_transform_values and Hash#deep_transform_values!

Rails 6 has added Hash#deep_transform_values and Hash#deep_transform_values! to allow performing deep value transformations on a nested hash

Rails 6 adds support for disabling database advisory locks

Rails 6 adds support for database configuration to disable advisory locks

Rails 6 upgrades to rails notes command and introduction of Rails::Command::NotesCommand

Rails 6 introduces several upgrades to rails notes command and adds Rails::Command::NotesCommand to be used by rake notes under the hood.

Rails 6 adds touch_all method to ActiveRecord::Relation

Rails 6 has added touch_all method to ActiveRecord::Relation to update the updated_at timestamp of multiple records at once.

Rails 6 adds Array#extract!

Rails 6 adds Array#extract! to remove and return the elements for which the block returns a true value.