Quantcast
Channel: Tutorials Tips
Viewing all articles
Browse latest Browse all 7

Send a file with; send_file

$
0
0
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

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images