Open cycomachead opened 2 years ago
irb(main):019:1* def dup_event(id) irb(main):020:1* e = Event.find(id) irb(main):021:1* new = e.dup irb(main):022:1* new.update(guid: nil, submitter: e.submitter) irb(main):023:1* new.save irb(main):024:0> end