Fix Cache::NullStore with local caching for repeated reads.
fatkodima
Fix to_s with no arguments not respecting custom :default formats
Hartley McGuire
Fix ActiveSupport::Inflector.humanize(nil) raising NoMethodError: undefined method `end_with?' for nil:NilClass.
James Robinson
Fix Enumerable#sum for Enumerator#lazy.
fatkodima, Matthew Draper, Jonathan Hefner
Improve error message when EventedFileUpdateChecker is used without a
compatible version of the Listen gem
Hartley McGuire
Active Model
Error.full_message now strips ":base" from the message.
zzak
Add a load hook for ActiveModel::Model (named active_model) to match the load hook for
ActiveRecord::Base and allow for overriding aspects of the ActiveModel::Model class.
Active Record
Restores functionality to the missing method when using enums and fixes.
paulreece
Fix StatementCache::Substitute with serialized type.
ywenc
Fix :db_runtime on notification payload when application have multiple databases.
Restores functionality to the missing method when using enums and fixes.
paulreece
Fix StatementCache::Substitute with serialized type.
ywenc
Fix :db_runtime on notification payload when application have multiple databases.
Eileen M. Uchitelle
Correctly dump check constraints for MySQL 8.0.16+.
Steve Hill
Fix ActiveRecord::QueryMethods#in_order_of to include nils, to match the
behavior of Enumerable#in_order_of.
For example, Post.in_order_of(:title, [nil, "foo"]) will now include posts
with nil titles, the same as Post.all.to_a.in_order_of(:title, [nil, "foo"]).
fatkodima
Revert "Fix autosave associations with validations added on :base of the associated objects."
This change intended to remove the :base attribute from the message,
but broke many assumptions which key these errors were stored.
zzak
Fix #previously_new_record? to return true for destroyed records.
Before, if a record was created and then destroyed, #previously_new_record? would return true.
Now, any UPDATE or DELETE to a record is considered a change, and will result in #previously_new_record?
returning false.
Adrianna Chang
Revert breaking changes to has_one relationship deleting the old record before the new one is validated.
zzak
Fix support for Active Record instances being uses in queries.
As of 7.0.5, query arguments were deep duped to avoid mutations impacting
the query cache, but this had the adverse effect to clearing the primary key when
the query argument contained an ActiveRecord::Base instance.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps activerecord from 7.0.6 to 7.0.7.
Release notes
Sourced from activerecord's releases.
... (truncated)
Changelog
Sourced from activerecord's changelog.
... (truncated)
Commits
522c86f
Preparing for 7.0.7 release5610cba
Sync CHANGELOG with the changes in the repository2dccb3f
Merge pull request #48891 from rails/rm-devcontainer-rightfabd0b5
Merge pull request #48886 from fatkodima/backport-4567064ea100
Make sure nested base errors are translatablebc035fc
Use single quotes instead of double quotes to get SQLite constraintsb9521b5
Remove duplicated fixtured25e34d
FixActiveRecord::QueryMethods#in_order_of
to work with nils36597e2
Merge pull request #48861 from paulreece/correct_missing_and_associated_behavior05eaeba
Merge pull request #48738 from paulreece/enum_join_missing_fixDependabot 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 show