Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def version_report(acts)
- acts.map do |a|
- no_versions = a.versions.size
- dates = a.versions.reverse.map{|v| "#{v.updated_at}"}.join(",")
- puts "#{a.id}, #{a.name}, #{no_versions}, #{dates}"
- end
- end
Add Comment
Please, Sign In to add comment