Commit 5ab5fdc
Move post-commit operations -> ImmunisationImport#post_commit!
The name of this method suggests it's purpose is to execute code against the
data committed by the transaction in `ImmunisationImport#process!`. It wasn't
obvious to us why some operations were inside this method and some were not.
This commit moves all the code after the transaction into
`ImmunisationImport#post_commit!`.
Co-authored-by: Chris Lowis <chris.lowis@gofreerange.com>1 parent 70d2da2 commit 5ab5fdc
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 92 | | |
96 | 93 | | |
97 | 94 | | |
| |||
227 | 224 | | |
228 | 225 | | |
229 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
0 commit comments