This method is already implemented as id_in in ApplicationRecord class.
Attach a file by drag & drop or click to upload