'Build excel sheet with Ruby on Rails

I want to build a spreadsheet(.xlsx) and wondering if its possible to build columns based on dates cells. Build the date row like this: enter image description here

Whats gem would you guys recommend for this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source