запилен пример для axlsx.
пройти туториал - http://pramodbshinde.wordpress.com/2013/12/29/design-spreadsheets-using-axlsx-in-rails/
sources - https://github.com/randym/minamirb/blob/master/app/controllers/posts_controller.rb