In Paperclip 3.0.1 you could just use the io_adapter
which doesn’t require writing an extra file to (and removing from) the local file system.
Paperclip.io_adapters.for(attachment.file).read
In Paperclip 3.0.1 you could just use the io_adapter
which doesn’t require writing an extra file to (and removing from) the local file system.
Paperclip.io_adapters.for(attachment.file).read