fixing bug undefined method `abstract_model' for

fixing bug in polymorphic belongs_to has_one relationship