Forum: Ruby on Rails attachment_fu + S3 - re-save problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
752a5de591cde4f99adbe9e479d48884?d=identicon&s=25 sness (Guest)
on 2007-04-08 07:40
(Received via mailing list)

I'm using attachment_fu with S3 storage, and am running into a problem:

When I first save the image to S3, it gets uploaded fine.  When I try
to change the image with:

      @image = Image.find_by_id(params[:id]) ||
      @image.attributes = params[:image]

The filename in the database gets updated, the filenames change to the
new name in S3, but the images on S3 are of the original image, not
the updated image.

752a5de591cde4f99adbe9e479d48884?d=identicon&s=25 sness (Guest)
on 2007-04-08 18:52
(Received via mailing list)

I've been working on tracking this down, and I have another data
point:  This was with the MiniMagick engine.  When I switched to
Rmagick, the new image gets uploaded correctly to S3.

This topic is locked and can not be replied to.