Using Delayed Paperclip With S3 Direct Upload
问题 I'm using Delayed Paperclip alongside direct uploads to S3. My model is called Photo and its attachment is image . Images are uploaded to S3 using JavaScript from the Photo form. The file is stored in the location that Paperclip expects the original image to be located, and the file details are saved to hidden fields. When the form is submitted, these attributes are written to the Photo model: image_file_name image_file_size image_content_type Because writing these attributes alone doesn't