video_channel/app/models/video.rb

9 lines
124 B
Ruby

class Video
include Mongoid::Document
include Mongoid::Timestamps
field :title
field :description
field :url
end