Do not select the row when we click on the link itself, either.
Define a display filename attribute for all file uploads.
Use the display_filename property when that is what is intended.
Give controllers the ability to decide whether a filename should be preserved or not. By default, while the files are stored on S3 using their hash, the files will have a content-disposition header set with the original filename of the upload. Use preserve_filenames=false on the upload, and save the record, to remove the filename from AWS.
s/training/survey/