public
Description: Sort HTML tables in your Rails app.
Home | Edit | New

Home

Welcome to the sortable_table wiki!

to change the default sort order use the hash key :default, Example:


@health_centers = @account.health_centers.paginate( :order => sort_order(:default => "ascending"), :include => [:user, :group, :programs], :page => params[:page], :per_page => params[:per_page])

Last edited by chadb, Mon Sep 14 13:01:06 -0700 2009
Home | Edit | New
Versions: