edgarjs / ajaxful-rating

Provides a simple way to add rating functionality to your application.
http://rdoc.info/projects/edgarjs/ajaxful-rating
418 stars 127 forks source link

fix join on association #83

Open nbraem opened 11 years ago

nbraem commented 11 years ago

The associations #{dimension}_rates and #{dimension}_raters need to be named with symbols instead of strings. If not, joining on them won't work (e.g. Model.joins(:dimension_rates) or Model.joins("dimension_rates") won't work).