As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats.

Read more at the source