This is a demo app to show how to use the awesome_nested_set gem and the jQuery.ui.nestedSortable plugin together.
For the details check this gist: https://gist.github.com/1130504
And to take a look at the app go to: http://awesomenestedsortable.herokuapp.com/groups and click in manage categories