You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented this
And when I upload new images the old ones get deleted. So I'm trying the following inside the model in order to bypass this, but without any luck. It's not working as well.
I have implemented this
And when I upload new images the old ones get deleted. So I'm trying the following inside the model in order to bypass this, but without any luck. It's not working as well.
mount_uploaders :attachments, AttachmentUploader skip_callback :commit, :after, :remove_previously_stored_avatar, :on=> :update, raise: false
Any idea how I can upload new files and keep the old ones?
The text was updated successfully, but these errors were encountered: