English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Account.find(:all,:limit => 25)

What is the proper syntax for this?

2007-12-13 08:28:32 · 1 answers · asked by theedge2343 2 in Computers & Internet Programming & Design

1 answers

Try:

Account.find(:all, :limit => 25, :order => "name DESC")

2007-12-13 17:41:08 · answer #1 · answered by TOB 3 · 0 0

fedest.com, questions and answers