# view

<%= sortable_element 'list', :update => 'list-info', :complete => visual_effect(:highlight, 'list'), :url => { :action => "order" } %> # controller def order @order = params[:list] render :partial => 'list' end # _list.rhtml partial Updated order is: <%= @order.join(', ') %>