text_marquee/app/models/marquee_text.rb

9 lines
186 B
Ruby

class MarqueeText
include Mongoid::Document
include Mongoid::Timestamps
field :title, type: String, localize: true
field :url, type: String, localize: true
belongs_to :marquee
end