class WritingConferenceSetting include Mongoid::Document include Mongoid::Timestamps Fields_names = ["year","publication_date"] field :display_fields_in_member_page, :type => Array, :default => ["year"] field :publication_date_format, :type => String, :default => "%Y-%m-%d" end