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 -- Posted via http://www.ruby-forum.com/.
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. Chandra wrote:> 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 > >