muratguzel / letsrate

The best way to add rating capabilities to your rails application and your activerecord models.
http://letsrate.herokuapp.com
198 stars 234 forks source link

New options #73

Open SanderMander opened 10 years ago

SanderMander commented 10 years ago

I've add new option to rating_for_user, rating_for which is :readonly option. This option show rating in readonly mode. Also i have add :can_change option to letsrate_rateable method, which is can allow users to change rating after rate. In previous version if user try to change rating then "User has already rated." exception will be raised. Also i have change associations methods call, because in rails 3 it throw exception "invalid arguments"

muratguzel commented 10 years ago

Thanks @SanderMander I will check this commit and merge it.