Skip to content

Instantly share code, notes, and snippets.

@esagara
Forked from ashaw/activerecord-csv.rb
Created July 30, 2014 22:15
Show Gist options
  • Save esagara/1695b0ec21f4246bb0cc to your computer and use it in GitHub Desktop.
Save esagara/1695b0ec21f4246bb0cc to your computer and use it in GitHub Desktop.
puts contributions.map{|q| '"' + q.instance_values['attributes'].values.join('","') + '"' }.join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment