Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reload the created snapshot before returing in create_snapshot! metho…
…d to prevent returing an invalid record SnapshotItem has an uniqueness validation on `item_id`. This causes the snapshot to be invalid after all SnapshotItems have been saved to the database via `upsert_all`. All records instanciated with `Snapshot#build_snapshot_item` are not reloaded.
- Loading branch information