From f0bcdcf4740148be2bd2505fbc7a85549a5d6fb2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sat, 16 Mar 2024 11:12:40 +0100 Subject: things: added 'chronicle' kind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- app/models/thing.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/thing.rb b/app/models/thing.rb index a27951f..4289b76 100644 --- a/app/models/thing.rb +++ b/app/models/thing.rb @@ -13,7 +13,8 @@ class Thing < ApplicationRecord has_many :tags, through: :tag_references enum :status, %i[read notread tobepublished], validate: true - enum :kind, %i[other poetry theater essay shorts novel paper letters phd], validate: true + enum :kind, %i[other poetry theater essay shorts + novel paper letters phd chronicle], validate: true # Returns all things which match the given text for any of the string columns # from the table. -- cgit v1.2.3