Commit 08ac47a
committed
Don't "persist_amounts"
This association is autosaved, and Rails knows not to retouch things
when autosaving associated records. I did a test to confirm that
removing this doesn't change whether the field is persisted.
(cherry picked from commit 6106722)1 parent b0f0f51 commit 08ac47a
2 files changed
Lines changed: 0 additions & 2 deletions
File tree
- core
- app/models/spree
- spec/models/spree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | 239 | | |
241 | 240 | | |
242 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
579 | 578 | | |
580 | 579 | | |
581 | 580 | | |
| |||
0 commit comments