clone

 

 

all_subchannels.each do |subchannel|
   new_subchannel = subchannel.clone
   new_subchannel.version = "1.8.0"
   new_subchannel.save
end

 

posted @ 2016-04-14 16:05  冰凌花花~  阅读(125)  评论(0编辑  收藏  举报