Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rails from 7.1.4.2 to 7.1.5 #174

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2024

Bumps rails from 7.1.4.2 to 7.1.5.

Release notes

Sourced from rails's releases.

7.1.5

Active Support

  • No changes.

Active Model

  • Fix regression in alias_attribute to work with user defined methods.

    alias_attribute would wrongly assume the attribute accessor was generated by Active Model.

    class Person
      include ActiveModel::AttributeMethods
    define_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_joins used with multiple associations that have the same child association but different parents does not join all parents.

    Previously, using .left_outer_joins with 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.config is always ready before access.

... (truncated)

Commits
  • 8984f4c Revert "Merge pull request #53484 from zzak/query_cache-config-disable"
  • 30f7974 Revert "Merge pull request #53494 from zzak/re-53492"
  • 625ec92 Preparing for 7.1.5 release
  • b1a7569 Add yarn.lock allowed dirty files
  • d78c6e4 Merge pull request #53494 from zzak/re-53492
  • e60b786 Merge pull request #53484 from zzak/query_cache-config-disable
  • 252723d Avoid redefining IpAddr#as_json if it already exist
  • 3ddbd08 Merge remote-tracking branch 'origin/7-1-sec' into 7-1-stable
  • 7021f21 [ci skip] Fix CHANGELOG lint errors
  • f6b283c Merge pull request #53360 from Shopify/ar-marshalling-7.1-unsaved-records
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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 [rails](https://github.com/rails/rails) from 7.1.4.2 to 7.1.5.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v7.1.4.2...v7.1.5)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 31, 2024
Copy link
Contributor

sweep-ai bot commented Oct 31, 2024

Hey @dependabot[bot], here is an example of how you can ask me to improve this pull request:

@Sweep Add unit tests for ActiveModel's `alias_attribute` to verify it works correctly with user-defined methods, specifically testing:
- A class that includes ActiveModel::AttributeMethods
- Defining attribute methods and attr_accessor
- Verifying the alias works for both reading and writing values

📖 For more information on how to use Sweep, please read our documentation.

@hlascelles hlascelles merged commit 40adb0a into master Nov 3, 2024
9 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rails-7.1.5 branch November 3, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant