Posted By

tonic on 07/03/08


Tagged

file rails type ruby download content render attachment


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

artmotion
webstic


Render file (no html)


 / Published in: Rails
 

Send file from different name

  1. send_file 'path/file_003', :disposition => 'attachment; filename=image.jpg'

Report this snippet  

You need to login to post a comment.