Skip to content

[pull] main from hackclub:main#449

Merged
pull[bot] merged 1 commit into
jaspermayone-forks:mainfrom
hackclub:main
Jun 10, 2026
Merged

[pull] main from hackclub:main#449
pull[bot] merged 1 commit into
jaspermayone-forks:mainfrom
hackclub:main

Conversation

@pull

@pull pull Bot commented Jun 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…13863)

## Summary of the problem
Although unlikely there can be a possibility where if we save the
ACH/Check object but the receipt creation fails then we end up with a
scenario where we have a create transfer without its receipt.


## Describe your changes
Using `ActiveRecord::Base.transaction` treats both operations as one
atomic operation meaning if either fail it will rollback both.

---------

Co-authored-by: Luke Oldenburg <87272260+Luke-Oldenburg@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jun 10, 2026
@pull pull Bot added the ⤵️ pull label Jun 10, 2026
@pull pull Bot merged commit 3f166b2 into jaspermayone-forks:main Jun 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant