Commit c0b9942
committed
Fix "undefined method
Fixed an issue where `new_record?` was called on a non-existent address
associated with an order object, leading to an "undefined method" error.
The problem was identified as the loss of a newly built address after a
page refresh, caused by the address selection process retrieving the
address without assigning it to the order.new_record?" for user addresses1 parent 4e053bf commit c0b9942
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments