about summary refs log tree commit diff stats
path: root/app/models/quote.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-22 00:06:48 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-22 00:06:48 -0400
commit4ecc5d37609c3de8d3b013a738f3704f1e70c61a (patch)
treeedcf3b0f38a40d348b72699e2e905b4b8251ae8d /app/models/quote.rb
parent98378969dae552c0c190eea922415d35eb22ae1e (diff)
downloadthoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.gz
thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.bz2
thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.zip
Audio quotes!
Diffstat (limited to 'app/models/quote.rb')
-rw-r--r--app/models/quote.rb2
1 files changed, 2 insertions, 0 deletions
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
5 5
6 acts_as_taggable 6 acts_as_taggable
7 7
8 has_one_attached :audio
9
8 validates :content, presence: true 10 validates :content, presence: true
9 11
10 enumerize :state, 12 enumerize :state,