Hi to everyone on the list. I’m a newbie to ruby on rails but so far i’m
liking every second of development with it.
That said, i have a minor problem using the send_file method.
My application takes an uploaded file and writes it to the file system,
i run some ruby code to parse the file and convert it to xml. All of
runs without a problem. However, when i try to push the file for the
download, i get the following error:
IndexError in File#download
index 543879 out of string
here is the trace
right now the files reside in a directory i created called work, but i
the same error when i put the files into the public directory
does anybody have any suggestions?
Thanks in advance for the help