![Teach Me To Code » Screencasts (iPhone/iPod) show](https://d3dthqtvwic6y7.cloudfront.net/podcast-covers/000/053/584/small/teach-me-to-code-screencasts-iphone-ipod.png)
Summary: Specification Clicking a star rating turns on the stars to the left of the star I clicked. Clicking a star submits the star rating. When I refresh the page, the star ratings should be persistent. We’ll be using Rails’ functions including: form_for hidden_field Rails Helpers We’ll be using jQuery functions including: click each ajax <code> {:id => form_id , :class => "star_rating_form"} do |f| %> form_id + "_stars" %> <li id="<%= form_id %>_<%= i %>"> </code> <code> var set_stars = function(form_id, stars) { for(i=1; i </code>