public function beforeSave() { $this->primary_gender = $this->primary_gender; return parent::beforeSave(); }