How to Delete The Uploaded Images

Hi,

Can anyone suggest me how to remove the uploaded images.I am uploading
images using file column.I want to remove the images both from the
database
as well as from the folder where i am saving the images.

Thanks&Regards,
Chandra

If you destroy the record using the normal AR method (@photo.destroy,
for example), file_column should also remove the images from the file
system.

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