replace ActiveRecord::Base.send(:class_name_of_active_record_descendant, self).to_s by self.base_class.name