class SeminarEmailSet include Mongoid::Document include Mongoid::Timestamps field :field_name, type: String field :title field :content field :disabled, type: Boolean, default: false field :is_confirmation, type: Boolean, default: false belongs_to :seminar_main end