muratguzel/letsrate — pull request #42 by serene (2013-09-24 05:46:56+00:00)
Title: A few changes to keep the gem Ruby 1.8 Friendly + Bug on displaying user rating

There were a few changes checked in that were Ruby 1.9 specific and didn't need to be. I reverted them to use Ruby 1.8 so that the gem is still accessible to old Rubyists.

There was also a bug in the helper method rating_for_user where the stars were not appearing when there was not existing rating, because the data-star-count was always equal to the data-rating.