From 1fc85b2b32f5a5fbd3227ed79c443f98c043b3f4 Mon Sep 17 00:00:00 2001 From: Niklas <68543592+njaeggi@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:18:31 +0100 Subject: [PATCH] rename required_attributes to required_attrs --- app/models/event/participation_contact_datas/manager.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/event/participation_contact_datas/manager.rb b/app/models/event/participation_contact_datas/manager.rb index 3a044018..71e6f523 100644 --- a/app/models/event/participation_contact_datas/manager.rb +++ b/app/models/event/participation_contact_datas/manager.rb @@ -8,7 +8,7 @@ # https://github.com/hitobito/hitobito_youth. class Event::ParticipationContactDatas::Manager < Event::ParticipationContactData - def required_attributes - @required_attributes ||= self.class.mandatory_contact_attrs.map(&:to_s) + def required_attrs + @required_attrs ||= self.class.mandatory_contact_attrs end end