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

Reset @target in subclasses #50653

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Reset @target in subclasses #50653

merged 1 commit into from
Jan 8, 2024

Conversation

tenderlove
Copy link
Member

Collection associations point to an array target, where singular associations will point to a single object. An "empty" (or "reset") association has different meaning depending on whether it's single or a collection. This commit changes the reset method to be specific to the type of association.

This is related to #48671

Collection associations point to an array target, where singular
associations will point to a single object. An "empty" (or "reset")
association has different meaning depending on whether it's single or a
collection. This commit changes the reset method to be specific to the
type of association.

This is related to #48671
@tenderlove tenderlove self-assigned this Jan 8, 2024
@tenderlove tenderlove merged commit fa84182 into main Jan 8, 2024
7 checks passed
@tenderlove tenderlove deleted the reset-super branch January 8, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant