personal-conference/app/models/writing_conference_intro.rb

11 lines
280 B
Ruby

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