here come the tags
This commit is contained in:
parent
c8732b6332
commit
29368bfdb9
16 changed files with 155 additions and 2 deletions
4
app/models/tag.rb
Normal file
4
app/models/tag.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class Tag < ApplicationRecord
|
||||
has_many :tag_to_clips
|
||||
has_many :clips, through: :tag_to_clips
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue