开发者

With the attachment_fu rails plugin, is there any way to delete files uploaded to Amazon S3?

Let's say I'm using attachment_fu to attach profile pics to user profiles in a system, with Amazon S3 used as the actual file storage. When users upload new profile pics, I'd like to replace the attached file with the new one. I can do this wi开发者_开发百科thin my database (i.e. the file metadata) easily, but attachment_fu doesn't seem to provide methods for deleting the files from S3.

Am I missing something, or am I approaching this the wrong way?

Many thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜