daily pastebin goal
78%
SHARE
TWEET

Untitled

a guest Jul 18th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. def version_report(acts)
  2.   acts.map do |a|
  3.     no_versions = a.versions.size
  4.     dates = a.versions.reverse.map{|v| "#{v.updated_at}"}.join(",")
  5.     puts "#{a.id}, #{a.name}, #{no_versions}, #{dates}"
  6.   end
  7. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top