Open luis77 opened 6 years ago
Hi!
Were you able to fix this?
any solution??
@luis77 I feel like I might be missing where Roo
comes into play here. Where does your format.xlsx
use roo? It looks to me like you are just using an erb template that you created. Am I missing something?
I am exporting records using the gem roo in .xlsx format and I am opening them in free office and opens without any error but when I try to open the same file using microsoft office in windows it sends me the following error "Excel can not open the clients.xlsx file because the format or extension of this is not valid, check that the file has not been damaged and that the file extension matches the file format". If for example I open the file in free office and apply in "save as" and then in format put "xlsx" with it does not show the error in windows, but with the one that generates me roo gives me the error.
this is my mime_types.rb
my roo gems:
my index.xlsx.erb:
my index action: