Add a to_csv method to Array class (similar to to_xml) to convert Active Record results to csv
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
CHANGELOG
README.rdoc
Rakefile
csvify.gemspec
init.rb

README.rdoc

csvify

Rails gem for adding a to_csv (similar to to_xml method) method to Array class for Active Record results.

Usage:

@records = Record.all

@records.to_csv

Copyright 2009 Eli Mayost, released under the MIT license