Displaying 1 result from an estimated 1 matches for "store_rating".
2006 Apr 10
1
How to specify Ascending or Descending Option?
Hi,
I am accessing records in Stores table as follows in @store object.
=============================================
@store_pages, @stores = paginate :stores, :order_by => ''store_rating'',
:per_page => 10
=============================================
Now I want that records returned by above objects should be in
descending order. How to do this in above statement?
PLeaase help me.
Thanx
Prash
--
Posted via http://www.ruby-forum.com/.