I would like to manually set the location of an asset, ie.
http://example.com/example.png, and save the model, without
carrierwave downloading the image.
The reason is that the image is already stored in my own S3 bucket,
and I'm already using the same S3 bucket with my carrierwave upload
and fog, so all it is doing is downloading it and then uploading it
again. Also, I'm not performing any post-upload processing of the
file, so downloading really is unnecessary. So, I only have 1 version
of the file, and it's already in a location where carrierwave/fog can
fetch it. I would, however, like to continue to use carrierwave/fog
because it offers nice getter methods for my assets from S3.
I am using the remote_path_url method to set the url, but I know that
carrierwave fetches the image before uploading it/storing it. Of
course it makes sense that carrierwave should do that 99% of the time,
but this is the 1%.
I have tried overwriting the setter method in the model, but that
didn't seem to persist for some reason. Is there a way to easily do
this with carrierwave that you can think of?