README.markdown in crafterm-comma-0.1.8 vs README.markdown in crafterm-comma-0.2.0
- old
+ new
@@ -107,9 +107,13 @@
Book.limited(10).to_comma(:brief)
Specifying no description name to to_comma is equivalent to specifying :default as the description name.
+You can pass options for FasterCVS, e.g.
+
+ Book.limited(10).to_comma(:style => :brief, :col_sep => ';', :force_quotes => true)
+
When used with Rails (ie. add 'comma' as a gem dependency), Comma automatically adds support for rendering CSV output in your controllers:
class BooksController < ApplicationController
def index