I am getting a very strange error when running a spec:
Failure/Error: entity = Factory.create(:entity, :name => \"Test Entity\", :creator => user) ActiveR
Similar error might occur if you are using Spring or any other Rails application preloader, make sure you restart it.
spring stop spring start # or usually bin/rails s or bin/rails c for console