rails group by 分组 OrderStatus.where(:order_id=>72).group(:value).all.size posted on 2010-12-09 13:19 lexus 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/lexus/archive/2010/12/09/1901144.html