Hi,
I’m new to rails world. I tried out simple example using attachment_fu.
I have successfully uploaded a file and also can delete the file just by
giving the id.
I need help in downloading the file saved in the file system.
send_file(File.join(FILE_PATH, file_name), :filename => @video.filename,
:disposition => ‘attachment’)
This doesn’t works since attachment_fu follows some procedure in saving
the files like
0000
|_00
|_file1.txt
|_01
|_file2.txt
Thanks,