I am trying to use pagination with the order option. I am following
examples I’ve seen all over the web, but I am getting an error. My code
@upload_pages, @uploads = paginate :uploads, :per_page => 20, :order
Yet I keep getting this error:
ActionController::ActionControllerError in Data#list
Unknown options: order
If I take the order option out, it works fine. Anyone have any idea
what I am doing wrong here?