Created by: dependabot-preview[bot]
Bumps activerecord from 6.0.1 to 6.0.2.
Release notes
Sourced from activerecord's releases.
6.0.2
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
... (truncated)
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 collection.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 like
where.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
Changelog
Sourced from activerecord's changelog.
Rails 6.0.2 (December 13, 2019)
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 collection.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 like
where.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 run
Edouard Chin
Fix multi-threaded issue for
AcceptanceValidator
.Ryuta Kamizono
Commits
-
f675cb3
Preparing for 6.0.2 release -
63107e9
Preparing for 6.0.2.rc2 release -
ec7721c
Revert "Merge pull request #37504 from utilum/no_implicit_conversion_of_nil" -
bb0d9c0
Fix typo colection -> collection -
a015f55
Preparing for 6.0.2.rc1 release -
c4175eb
Update CHANGELOG [ci skip] -
241def5
Merge pull request #37774 from Edouard-chin/ec-enlist-fixture-connection -
e6fe137
Merge pull request #37747 from bradleyprice/check-association-loaded-across-c... -
98aef67
Merge pull request #37727 from kamipo/improve_deprecation_message -
ed186ac
Merge pull request #37658 from rails/fix-collection-association-callback - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)