I have this line..
@organization.search_image = File.open(@photo.photo.path(:original))
Except that 's looking for something local, and all my photos are on S3 now. How would I translate that to opening a file on S3?
I have this line..
@organization.search_image = File.open(@photo.photo.path(:original))
Except that 's looking for something local, and all my photos are on S3 now. How would I translate that to opening a file on S3?
You have two options that come to mind: