The Getting Started section of the (excellent) docs suggest using
include ImageUploader::Attachment(:image) in the model if you don’t want to bother with processing.
Further down, there’s a section about
MyUploader.upload(). Because I would like to process the images and change the s3 upload directory structure, I am using this. However, this method does not take symbols.
ImageUploader.upload(:image, :store) results in an error that says this:
:image is not a valid IO object (it doesn't respond to #read, #eof?, #rewind, #close) (Shrine::InvalidFile)
How do I get a valid IO object?