Just like acts_as_list, but restful.