# A rails 2.1 friendly attribute rater?

**URL:** <https://www.ruby-forum.com/t/a-rails-2-1-friendly-attribute-rater/142059>\
**Category:** Rails\
**Created:** [July 3, 2008, 1:56am UTC](https://www.ruby-forum.com/t/a-rails-2-1-friendly-attribute-rater/142059 "2008-07-03T01:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bob](https://www.ruby-forum.com/u/bob)\
**Post date:** [July 3, 2008, 1:56am UTC](https://www.ruby-forum.com/t/a-rails-2-1-friendly-attribute-rater/142059/1 "2008-07-03T01:56:30Z")

</div>

I’ve got a Model with 12 statements I want to let the user rate from 1  
to 6. Instead of just having them enter a value in 12 fields with the  
statements as labels, I want to display 12 raters (1-6 stars, responds  
to mouseover,click) and let the user click the image to set the value of  
the (hidden) field.

I’m new to rails and esp. javascript: Can anyone point me in the right  
direction for this?

Thanks in advance!
