text_marquee/app/models/marquee_text.rb

9 lines
186 B
Ruby
Raw Normal View History

2015-04-30 09:50:09 +00:00
class MarqueeText
include Mongoid::Document
include Mongoid::Timestamps
field :title, type: String, localize: true
field :url, type: String, localize: true
belongs_to :marquee
end