I'm pretty new to ROR and working on a couple of small changes to an upload function, changing how the input spreadsheet is parsed.
The problem is that the upload does not work on my Windows based development platform. It does work on MAc and Unix variants though.
The logic is processing an uploaded spreadsheet file which is then processed/parsed by the 'spreadsheet' gem. But on Windows the spreadsheet.open call fails with an error of "broken allocationtable chain". It appears that the file is corrupted as part of the upload when it is written to the temp file.
There are comments on various Ruby pages about having to change the file open to binary, but I'm assuming this is the open buried in te Rails upload function.
Has anyone come across this before? Any suggestions or ideas for a novice?
Many thanks