ask/app/models/ask_print_setting.rb

7 lines
188 B
Ruby

class AskPrintSetting
include Mongoid::Document
include Mongoid::Timestamps
field :print_format, type: String,default: ''
field :save_name, type: String,default: 'ask_{title}'
end