From 4ecc5d37609c3de8d3b013a738f3704f1e70c61a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 22 Oct 2023 00:06:48 -0400 Subject: Audio quotes! --- app/models/quote.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/models/quote.rb') diff --git a/app/models/quote.rb b/app/models/quote.rb index d037aab..518d53b 100644 --- a/app/models/quote.rb +++ b/app/models/quote.rb @@ -5,6 +5,8 @@ class Quote < ApplicationRecord acts_as_taggable + has_one_attached :audio + validates :content, presence: true enumerize :state, -- cgit 1.4.1