acts_as_rateable
acts_as_rateable copied to clipboard
No Rails 3 compatibility yet
Any use of the rate_it method on Rails 3 will generate an error something like:
NoMethodError: undefined method `id' for 14:Fixnum
where 14 is the ID of the user trying to rate the item. Calling rate_it with the user object instead of its ID (which is what the error leads me to believe would work) gives
ActiveRecord::StatementInvalid: Could not find table 'user_ratings'