Updated: 04/02/2008

Send a file with; send_file

After uploading a file to your server/database you may want users to download it, and send_file works great for just that! Lets say you are allowing users to upload &"gif&" files to your /RAILS_ROOT/images/*usern ame*/*thegif.gif*. Now you want to allow them to download them or other users to download the pictures.