Archive for June, 2008

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.

Using Git with subversion: Part II (Practice)

Friday, June 27th, 2008

More tips on how to use Git with a Subversion repository to get some of the Git goodness, local branches, stashes and much more, without having to persuade everyone else on your project to migrate to Git

If you don’t already have git installed then see part I (Installation).

(more…)