On Oct 19, 2010, at 10:20 AM, Patrice Cartier wrote:
I’m using attribute_fu and paperclip to add multiple images to a
This is working great when creating a new record but when I want to
new images to an existing record through a common scaffold update, the
images upload but replace the existing images.
Do you have a separate model to hold the additional images? Or do you
have N number of image “slots” per record? Paperclip manages each
image as a virtual attribute of your model, and if you upload a new
image in the same slot, that image will overwrite the previous one.
Unless you’re adding
and all the paperclip-specific fields that go with them, you are
probably ending up with a single field to hold your images.
I’m not familiar with attribute_fu – does that somehow work around