Created
December 19, 2008 02:53
-
-
Save brandon-beacher/37852 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:plain | |
Original ID,Email,Last Name,First Name,Honorific,Gender,Organization,Clergy?,Listed?,Primary Street,Primary City,Primary State,Primary Zip,Primary Phone | |
#{ FasterCSV.generate do |csv| | |
@people.each do |p| | |
csv << [ | |
p["original_id"], | |
p["email"], | |
p["last_name"], | |
p["first_name"], | |
p["honorific"], | |
p["gender"], | |
p["parish_name"], | |
answerize(p["clergy"]), | |
answerize(p["listed"]), | |
p["primary_street"], | |
p["primary_city"], | |
p["primary_state"], | |
p["primary_zip"], | |
p["primary_phone"] ] | |
end | |
end } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment