Hi,
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.
yours,
sness.
On 4/7/07, sness <snessnet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> 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.new
> @image.attributes = params[:image]
> if @image.save
> ....
> end
>
> 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.
>
> yours,
> Steven.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---