From 2d456c67474a18e471571422d9c7a1d01edcd96f Mon Sep 17 00:00:00 2001 From: Coraline Date: Thu, 26 Dec 2024 18:58:22 -0600 Subject: [PATCH] Add missing notes field to theme --- app/models/theme.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/theme.rb b/app/models/theme.rb index 92e2e0d..86398cd 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -4,7 +4,8 @@ class Theme property :name property :description - + property :notes + before_validation :sanitize validates :name, presence: true