Skip to content

Commit

Permalink
Update sort_order arguments in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandunn committed Dec 21, 2009
1 parent 9b4f9d2 commit 03decab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -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")
end

Authors
Expand Down

0 comments on commit 03decab

Please sign in to comment.