RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: realtimecarsten
Had to remove require iconv from config/application.rb to make this compile (with either ruby 1.9.2 or 2.0.0).
require iconv
config/application.rb
Most works fine, but when reading back the xsl file written with the example, I will get OLE2 signature is invalid
OLE2 signature is invalid
Ok, I learned that this is a format problem (still think it's funny that I writes a format it cannot read).
So I open the xls file with libreoffice, and save it as 2007 xls.
Now I can read the file (no OLE problem anymore), but I get Row 2: Price can't be blank and so forth for every other line.
Row 2: Price can't be blank
When opening the file from libreoffice, it has the prices in the price row.
Had to remove
require iconv
fromconfig/application.rb
to make this compile (with either ruby 1.9.2 or 2.0.0).Most works fine, but when reading back the xsl file written with the example, I will get
OLE2 signature is invalid
Ok, I learned that this is a format problem (still think it's funny that I writes a format it cannot read).
So I open the xls file with libreoffice, and save it as 2007 xls.
Now I can read the file (no OLE problem anymore), but I get
Row 2: Price can't be blank
and so forth for every other line.
When opening the file from libreoffice, it has the prices in the price row.