diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-22 00:06:48 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-22 00:06:48 -0400 |
commit | 4ecc5d37609c3de8d3b013a738f3704f1e70c61a (patch) | |
tree | edcf3b0f38a40d348b72699e2e905b4b8251ae8d /app/models | |
parent | 98378969dae552c0c190eea922415d35eb22ae1e (diff) | |
download | thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.gz thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.tar.bz2 thoughts-4ecc5d37609c3de8d3b013a738f3704f1e70c61a.zip |
Audio quotes!
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/quote.rb | 2 |
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, |