I have to create a download link.As a newbie in ruby i googled for it
found the way for my problem.
:filename => ‘My Filename!’,
:type => ‘image/gif’,
:disposition => ‘attachment’,
:streaming => ‘true’,
:buffer_size => ‘4096’)
but it show file download error: Cannot read file /images/header.gif
My file location /images/header.gif
what is the wrong?
please mention a better way if any.
please help me.