RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: bobek-balinek
Site: http://www.pbobak.co.uk
Use:
Roo::Excel.new(file.path, nil, :ignore)
Just checked on both 1.9.2 and 1.9.3, works fine.
I found a fix for it just now. I called up Excel/Csv classes from the Roo object. Seems to be working ok
def self.open_spreadsheet(file) case File.extname(file.original_filename) # ... when ".xls" then Roo::Excel.new(file.path, nil, :ignore) # ... end end
Use:
Just checked on both 1.9.2 and 1.9.3, works fine.
I found a fix for it just now. I called up Excel/Csv classes from the Roo object. Seems to be working ok