This repository has been archived by the owner. It is now read-only.
Browse files

Update sort_order arguments in README.

  • Loading branch information...
tristandunn committed Dec 21, 2009
1 parent 9b4f9d2 commit 03decab0a9335da0347fe8e49bd8b9a77b050cdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
@@ -129,7 +129,7 @@ h3. sort_order
The default sort order is descending. This applies to the first time you click on a table header. You can override this to be ascending:
def index
- @users = User.find :all, :order => sort_order("ascending")
+ @users = User.find :all, :order => sort_order(:default => "ascending")

0 comments on commit 03decab

Please sign in to comment.