16470: Fixes reload() API to match the overridden function.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Mon, 20 Jul 2020 14:40:38 +0000 (11:40 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 5 Aug 2020 13:36:17 +0000 (10:36 -0300)
commit77a228e9e20aa0e9b804f5ae39f37b6687230767
tree2757a12efa0e933b8b5e9c64a2e1a3a4195c4201
parent28e65cc5137a4e0f0a50b7c221bc1715524ac958
16470: Fixes reload() API to match the overridden function.

reload()'s documentation states: "...in addition to the in-place modification
the method returns self for convenience."

https://api.rubyonrails.org/v5.1.7/classes/ActiveRecord/Persistence.html#method-i-reload

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