Posts Tagged ‘templates’

CSV templating made easy in Rails

Friday, June 27th, 2008

CSV Builder is a simple little Rails (v2.1) plugin that makes it easy to write templates to generate CSV formatted output from your Rails application.

It does this by providing a little bit of plumbing gubbins to make a custom template handler from the FasterCSV gem.

So if you want to export data in CSV format from your rails app then install it like this

sudo gem install fastercsv
./script/plugin install git://github.com/econsultancy/csv_builder.git

This plugin was developed as part of project that I have been working on with Econsultancy.com.