# User interface for ranking a list of books

**URL:** <https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614>\
**Category:** Rails\
**Created:** [January 31, 2010, 3:07am UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614 "2010-01-31T03:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learn\_by\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e274bd/32.png) [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Post date:** [January 31, 2010, 3:07am UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614/1 "2010-01-31T03:07:28Z")

</div>

I hope to find some plugin or existing code to implement the following  
feature because it is very common on the net.

In my application, each user has a list of favorite books. After  
login, each user should be able to rank this list of books. Ideally,  
the user is presented with his list. He then can drag and drop to  
rank the books in the list and click submit to save the new rankings.  
Or he can just type in the numeral ranking next to each book. I  
remember that Netflix allows its users to rank their list of movies in  
this fashion.

Can you point me to some plug-in, existing code or suggest how I can  
implement this? I think this feature has been implemented many times  
before. I don’t want to reinvent the wheel. Thanks much.

---

<div class="post-metadata">

**Author:** ![Learn\_by\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e274bd/32.png) [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Post date:** [January 31, 2010, 9:53am UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614/2 "2010-01-31T09:53:00Z")

</div>

I discovered this recipe which seems to do what I want:  
[http://media.pragprog.com/titles/fr\_rr/Sortable.pdf](http://media.pragprog.com/titles/fr_rr/Sortable.pdf) .

I’ll try it out. If anybody knows of a better way, please let me  
know. Thanks.

---

<div class="post-metadata">

**Author:** ![Learn\_by\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e274bd/32.png) [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Post date:** [January 31, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/user-interface-for-ranking-a-list-of-books/182614/3 "2010-01-31T14:47:21Z")

</div>

Learn by Doing wrote:

> I hope to find some plugin or existing code to implement the following  
> feature because it is very common on the net.
> 
> In my application, each user has a list of favorite books. After  
> login, each user should be able to rank this list of books. Ideally,  
> the user is presented with his list. He then can drag and drop to  
> rank the books in the list and click submit to save the new rankings.  
> Or he can just type in the numeral ranking next to each book. I  
> remember that Netflix allows its users to rank their list of movies in  
> this fashion.
> 
> Can you point me to some plug-in, existing code or suggest how I can  
> implement this? I think this feature has been implemented many times  
> before. I don’t want to reinvent the wheel. Thanks much.

Most JavaScript UI libraries have something like this. Remember to  
provide an alternative interface for users without JS, though.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
