Ruby on Rails v6.0.2.rc1 Release Notes
Release Date: 2019-11-27 // over 4 years ago-
๐ Active Support
๐ Eager load translations during initialization.
Diego Plentz
๐ Use per-thread CPU time clock on
ActiveSupport::Notifications
.George Claghorn
Active Model
- No changes.
Active Record
Share the same connection pool for primary and replica databases in the
โ transactional tests for the same database.Edouard Chin
๐ Fix the preloader when one record is fetched using
after_initialize
but not the entire colection.Bradley Price
๐ Fix collection callbacks not terminating when
:abort
is thrown.Edouard Chin, Ryuta Kamizono
๐ Correctly deprecate
where.not
working as NOR for relations.๐ 12a9664 deprecated where.not working as NOR, however
doing a relation query likewhere.not(relation: { ... })
๐ wouldn't be properly deprecated andwhere.not
would work as
NAND instead.Edouard Chin
๐ Fix
db:migrate
task with multiple databases to restore the connection
to the previous database.The migrate task iterates and establish a connection over each db
resulting in the last one to be used by subsequent rake tasks.
We should reestablish a connection to the connection that was
established before the migrate tasks was runEdouard Chin
๐ Fix multi-threaded issue for
AcceptanceValidator
.Ryuta Kamizono
Action View
- No changes.
Action Pack
๐ Allow using mountable engine route helpers in System Tests.
Chalo Fernandez
๐ท Active Job
๐ Allow Sidekiq access to the underlying job class.
๐ท By having access to the Active Job class, Sidekiq can get access to any
sidekiq_options
which
๐ท have been set on that Active Job type and serialize those options into Redis.https://github.com/mperham/sidekiq/blob/master/Changes.md#60
Mike Perham
Action Mailer
๐ Fix ActionMailer assertions don't work for parameterized mail with legacy delivery job.
bogdanvlviv
Action Cable
- No changes.
Active Storage
- No changes.
Action Mailbox
- No changes.
Action Text
- No changes.
Railties
๐ Fix the collision check for the scaffold generator.
Ryan Robeson
๐ง Configuration files for environments (
config/environments/*.rb
) are
now able to modifyautoload_paths
,autoload_once_paths
, and
eager_load_paths
.Allen Hsu & Xavier Noria