mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
10 lines
229 B
Ruby
10 lines
229 B
Ruby
|
class Story < ApplicationRecord
|
||
|
include FancySearchable::Searchable
|
||
|
include Indexable
|
||
|
|
||
|
belongs_to :author
|
||
|
has_many :chapters
|
||
|
has_many :taggings, validate: false
|
||
|
has_many :tags, through: :taggings, validate: false
|
||
|
end
|