personal-conference/app/models/writing_conference_intro.rb

11 lines
280 B
Ruby
Raw Normal View History

2014-07-01 10:19:07 +00:00
class WritingConferenceIntro
include Mongoid::Document
include Mongoid::Timestamps
belongs_to :member_profile
field :text, localize: true
field :display_intro, :type => Boolean, :default => true
field :display_conference_list, :type => Boolean, :default => true
end