I have a dataset ("results") and I want to output it as CSV to a file
("output.csv"). Trying to use the Sequel CSV Serializer plugin for this, but a
".to_csv" method is never being attached to my dataset:
results = DBLookupAndResults[:results]
results.plugin :csv_serializer
File.open('output.csv', 'w'){|file|
file << results.to_csv
}
Not sure what to do. So close to getting this to work!
Mark
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.