Module: FileStoreMounter

Instance Method Summary collapse

Instance Method Details

#update_file_storeObject


15
16
17
18
# File 'app/models/concerns/file_store_mounter.rb', line 15

def update_file_store
  # The file.object_store is set during `uploader.store!` and `uploader.migrate!`
  update_column(:file_store, file.object_store)
end