2010-08-27 25 views

回答

2
find(:all, order => "money desc" :limit => 5) 
1

导轨3(AREL)语法:

Item.order('items.money DESC').limit(5) 
相关问题