jasherai/acts-as-rated — Issue #7: write_inheritable_attribute no longer found in rails 3.2.1
Author: wolfmanjm
Created: 2012-02-09 06:23:07+00:00
State: open

undefined method `write_inheritable_attribute' for #

activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:50:in `method_missing'
vendor/plugins/acts_as_rated/lib/acts_as_rated.rb:116:in `acts_as_rated'
app/models/input.rb:5

Rewriting those two lines (116) as

class_attribute :acts_as_rated_options
self.acts_as_rated_options=
{ :rating_range => options[:rating_range],
:rating_class => rating_class,
:stats_class => stats_class,
:rater_class => rater_class }

Seems to fix it