From 78a9b4409f1399e42064f01c522f2e7cdbe8958f Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Mon, 22 Jul 2024 12:35:54 -0700 Subject: [PATCH] fix syntax error --- app/models/teacher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/teacher.rb b/app/models/teacher.rb index 43bccc73..380d49ee 100644 --- a/app/models/teacher.rb +++ b/app/models/teacher.rb @@ -285,7 +285,7 @@ def email_attributes teacher_school_city: self.school.city, teacher_school_state: self.school.state, teacher_school_website: self.school.website, - }.trasform_values { |value| value.blank? ? '(blank)' value } + }.trasform_values { |value| value.blank? ? '(blank)' : value } end # TODO: The school data needs to be cleaned up.