impressionist
impressionist copied to clipboard
superclass mismatch error
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.
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?