ruby

领取游戏新手卡来http://5433.com

导航

2010年3月10日 #

递归生成树

摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classProduct<ActiveRecord::Baseacts_as_tree:order=>"name"defself.rootsself.find(:all,:conditi... 阅读全文

posted @ 2010-03-10 19:12 最初的模样 阅读(269) 评论(0) 推荐(0)