RailsCasts Pro episodes are now free!

Learn more or hide this

Zach's Profile

GitHub User: theotherzach

Site: theotherzach.com

Comments by Zach

Avatar

This is the to_xls gem that I'm using. It's perfect for spitting out simple arrays with limited formatting but unable to tackle anything more involved.

https://github.com/splendeo/to_xls

An example of my use:

http://stackoverflow.com/questions/11112581/calling-an-activerecord-association-method-from-an-array-in-rails-3-2

Avatar

Excel will also always throw a "unreadable content" error when opening a SpreadsheetML file. It's just a crappy user experience all the way around; do not want.