error in profile export

This commit is contained in:
Raphael 2011-01-05 17:03:22 -08:00
parent 7b721836c8
commit a02eb39bf1

View file

@ -159,6 +159,7 @@ module DataConversion
profile_row = model_hash[:profile_attrs].map do |attr_name|
attr_name = attr_name.gsub("mongo_", "")
attr_name = "_id" if attr_name == "id"
hash["profile"][attr_name]
end
profiles_csv << person_row