Move file store updates and mount_uploader into a concern
The pattern of updating the model's file_store
column after file
was
saved repeated across many different models. In one case, the
after_save
was missing, which led to a bug preventing object store
from working with the dependency proxy
(#231563 (closed)). Consolidate the
logic and tests into a single place.
Closes #232094 (closed)
Edited by Stan Hu