acts_as_rateable icon indicating copy to clipboard operation
acts_as_rateable copied to clipboard

No Rails 3 compatibility yet

Open pikajude opened this issue 14 years ago • 0 comments

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'

pikajude avatar Aug 31 '10 03:08 pikajude