Permalink
Browse files

Write Name and Slug in Artefact export

  • Loading branch information...
1 parent 02e76ff commit c0255386180f1e09786e827ebf1b5e634695ba62 @jamiecobbett jamiecobbett committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tasks/move_to_new_sections.rake
@@ -54,7 +54,7 @@ module NewSectionMigration
end
puts "Exporting #{really_live_artefacts.size} artefacts that are live or in progress"
really_live_artefacts.each do |a|
- a_file.write("#{a.slug}\n")
+ a_file.write([a.name, a.slug].to_csv)
end
a_file.close
end

0 comments on commit c025538

Please sign in to comment.