video_channel/app/models/video.rb

9 lines
124 B
Ruby
Raw Normal View History

2014-01-14 09:19:31 +00:00
class Video
include Mongoid::Document
include Mongoid::Timestamps
field :title
field :description
field :url
end