Attachment_fu 'replace' method?

Is there a ‘replace’ method or similar for attchment_fu?
For instance, I have an image that is uploaded and stored. Now I want
to replace it with a different image.

I do not want to do a delete and then new - since I need to keep
various attributes associated with the previous image.

thanks.

Or how would I use update to do this?

On Dec 3, 2007 5:28 PM, nextpulse [email protected] wrote:

Is there a ‘replace’ method or similar for attchment_fu?
For instance, I have an image that is uploaded and stored. Now I want
to replace it with a different image.

I do not want to do a delete and then new - since I need to keep
various attributes associated with the previous image.

Have you considered using acts_as_versioned ?

http://wiki.rubyonrails.org/rails/pages/ActsAsVersioned


Greg D.
http://destiney.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs