jasherai / acts-as-rated

git svn clone of acts-as-rated
http://acts-as-rated.rubyforge.org
MIT License
56 stars 19 forks source link

The :class_name attribute in has_many and belongs_to should be a string #4

Closed Knack closed 9 years ago

Knack commented 13 years ago

The :class_name attribute in has_many and belongs_to should be a string with the name of a class, not the class itself.

The text inside "class_eval" which define these associations lacked the appropriate quotes.

This was causing an obscure error when upgrading my app to Rails 2.3.11 and the latest version of active_scaffold plugin