Update activerecord requirement from >= 5.2, < 8 to >= 5.2, < 9
Updates the requirements on activerecord to permit the latest version.
Release notes
Sourced from activerecord's releases.
7.1.5
Active Support
- No changes.
Active Model
Fix regression in
alias_attributeto work with user defined methods.
alias_attributewould wrongly assume the attribute accessor was generated by Active Model.class Person include ActiveModel::AttributeMethodsdefine_attribute_methods :name attr_accessor :name
alias_attribute :full_name, :name end
person.full_name # => NoMethodError: undefined method `attribute' for an instance of Person
Jean Boussier
Active Record
Fix marshalling of unsaved associated records in 7.1 format.
The 7.1 format would only marshal associated records if the association was loaded. But associations that would only contain unsaved records would be skipped.
Jean Boussier
Fix an issue where
.left_outer_joinsused with multiple associations that have the same child association but different parents does not join all parents.Previously, using
.left_outer_joinswith the same child association would only join one of the parents.Now it will correctly join both parents.
Fixes #41498.
Garrett Blehm
Ensure
ActiveRecord::Encryption.configis always ready before access.
... (truncated)
Commits
8984f4cRevert "Merge pull request #53484 from zzak/query_cache-config-disable"30f7974Revert "Merge pull request #53494 from zzak/re-53492"625ec92Preparing for 7.1.5 released78c6e4Merge pull request #53494 from zzak/re-53492e60b786Merge pull request #53484 from zzak/query_cache-config-disable3ddbd08Merge remote-tracking branch 'origin/7-1-sec' into 7-1-stablee52d670Preparing for 7.1.4.2 release7021f21[ci skip] Fix CHANGELOG lint errorsf6b283cMerge pull request #53360 from Shopify/ar-marshalling-7.1-unsaved-recordsd3ceb6cMerge remote-tracking branch 'origin/7-1-sec' into 7-1-stable- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)