impressionist icon indicating copy to clipboard operation
impressionist copied to clipboard

superclass mismatch error

Open davechisholm opened this issue 11 years ago • 1 comments

I included the gem in my gemfile and ran bundle install, but then got the following error when trying to generate the migration

.rvm/gems/ruby-2.0.0-p247/gems/impressionist-1.5.1/lib/impressionist/models/active_record/impression.rb:5:in `<top (required)>': superclass mismatch for class Impression (TypeError)

I found that file and renamed the class to something random, and it appeared to work fine.

I have no other classes named 'Impression' so I'm not sure what is causing this. I'm on rails 4 by the way.

davechisholm avatar Jan 08 '14 08:01 davechisholm

Am seeing the same issue with rails 4.1, am hesitant to just randomly rename that class.

It seems there is another Impression class defined under app/model/impression.rb, could be a conflict with that?

MiketoString avatar Apr 08 '15 20:04 MiketoString