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>
Thu, 23 Jul 2020 22:05:24 +0000 (19:05 -0300)
commit6186c4b90b41993bbe8b7b7036697103d218a979
treec7d3e90d01a1522688d9b49eb36508c3119cb2c7
parentb56a28d1aa985af24a2ac61084f8f6a20ec9ef15
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