roo-gem Questions
2
I'm trying to upload and parse an .XLS file. I've tried with roo-xls and Spreadsheet, but with both, I'm getting this error:
Ole::Storage::FormatError in UploadController#upload
OLE2 signature is ...
Pawn asked 17/9, 2018 at 4:50
4
I'm using Rails 5. I want to parse an .xls (not to be confused with .xlsx doc) using the code below
book = Roo::Spreadsheet.open(file_location)
sheet = book.sheet(0)
text = sheet.to_csv
csv = ...
Archaeozoic asked 3/7, 2017 at 20:40
4
Solved
I have an Excel column containing part numbers. Here is a sample
As you can see, it can be many different datatypes: Float, Int, and String. I am using roo gem to read the file. The problem is t...
4
I'm on Rails 5 (Ruby 2.4). I want to read an .xls doc and I would like to get the data into CSV format, just as it appears in the Excel file. Someone recommended I use Roo, and so I have
book = Ro...
Granulocyte asked 28/3, 2017 at 19:5
1
© 2022 - 2024 — McMap. All rights reserved.