diff options
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, |
