Displaying 1 result from an estimated 1 matches for "getzip".
Did you mean:
setzip
2007 Dec 17
2
Error in send_file
I''m trying to add a link to download a zip file. I created a
controller method that makes the call to send_file:
def getzip
send_file ''file.zip''
end
When I navigate to this link I get a MissingFile exception. The file
definitely exists (and U triple-checked paths and spelling) and the
permissions are 644. I tried moving it to the /public folder and
updating the getzip method to grab it from here,...