Forum: Ruby on Rails Export to Excel - large file

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0e03c903abe81a991da62dbc1204665f?d=identicon&s=25 Marcello Parra (Guest)
on 2008-10-26 16:46
(Received via mailing list)
Hello,
I need to export some data to an Excel file.
I'm using a xml view to do that.

But now, the file is too large, and taking almost 30 minutes to
render....

Is there another way that I can do this ??

Thanks for any help...

Marcello
B14575f0ca69f10938fdd67e7156e0e1?d=identicon&s=25 Craig Demyanovich (Guest)
on 2008-10-26 16:57
(Received via mailing list)
Whenever I've needed to export data for Excel, I've always exported a
CSV
file, since it's quite easy to create and easy for Excel to open. I've
used
FasterCSV to generate the CSV file.

Regards,
Craig
04952a6ee948f345e9c3727850d09a1b?d=identicon&s=25 Dejan Dimic (Guest)
on 2008-10-26 22:11
(Received via mailing list)
You can try http://spreadsheet.rubyforge.org/

There are two ways to produce an Excel file from your data. Ole and
Xml way.
I like Xml way more.

Take look at http://wiki.rubyonrails.org/rails/pages/HowToExportToExcel
too.

Could you give us more information about Excel file or a sample so we
can help you more.


On Oct 26, 4:57 pm, "Craig Demyanovich" <cdemyanov...@gmail.com>
This topic is locked and can not be replied to.