Skip to content

refactor: use ivar for related_record #3746

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

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

Paul-Bob
Copy link
Contributor

Description

Uses an instance variable (@related_record) for related_record during create.

This ensures it remains accessible within an after_action callback.

@Paul-Bob Paul-Bob self-assigned this Mar 17, 2025
@Paul-Bob Paul-Bob changed the title chore: use ivar for related_record refactor: use ivar for related_record Mar 17, 2025
@github-actions github-actions bot added the Chore label Mar 17, 2025
@Paul-Bob Paul-Bob added Refactor and removed Chore labels Mar 17, 2025
Copy link

codeclimate bot commented Mar 17, 2025

Code Climate has analyzed commit d2a1a6c and detected 0 issues on this pull request.

View more on Code Climate.

@Paul-Bob Paul-Bob merged commit 3202871 into main Mar 17, 2025
20 checks passed
@Paul-Bob Paul-Bob deleted the chore/use_ivar_for_related_record branch March 17, 2025 07:37
Copy link
Contributor

This PR has been merged into main. The functionality will be available in the next release.

Please check the release guide for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant