class SubjectMatterExpert < User include HashCodeCreatorModule def make_activation_code self.deleted_at = nil self.activation_code ||= make_hash_code end end
class Administrator < User include HashCodeCreatorModule def make_activation_code self.deleted_at = nil self.activation_code ||= make_hash_code end end