video_channel/app/models/channel_video.rb

10 lines
175 B
Ruby
Raw Normal View History

2014-01-14 09:19:31 +00:00
class ChannelVideo
include Mongoid::Document
include Mongoid::Timestamps
attr_accessible :channel_name
field :channel_name
validates_presence_of :channel_name
end