text_marquee/app/models/marquee.rb

10 lines
194 B
Ruby

class Marquee
include Mongoid::Document
include Mongoid::Timestamps
include OrbitTag::Taggable
include OrbitCategory::Categorizable
field :title, type: String
has_many :marquee_texts
end