Use Rails 6 upsert_all to reduce queries and simplify code.
Attach a file by drag & drop or click to upload