16470: Fixes collection versioning management code.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 3 Aug 2020 22:24:00 +0000 (19:24 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Fri, 7 Aug 2020 14:54:35 +0000 (11:54 -0300)
commit4d55677e79cec7d4a6f532ad3cf53f543a4f7821
treec8c1ae70f952e2ebc91e69ba2b5deb9688f6f875
parent6921ecacf90479af239580e098500300aa498ff3
16470: Fixes collection versioning management code.

Collection versioning management is implemented on an 'around_update' callback
so some 'attribute_changed()' & 'changes()' calls changed behaviour depending
on which side of the 'yield' were made.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
services/api/app/models/collection.rb