text_marquee/app/models/marquee.rb

10 lines
194 B
Ruby
Raw Normal View History

2015-04-30 09:50:09 +00:00
class Marquee
include Mongoid::Document
include Mongoid::Timestamps
include OrbitTag::Taggable
include OrbitCategory::Categorizable
field :title, type: String
has_many :marquee_texts
end