orbit-4-2/app/models/mail_cron_file.rb

14 lines
209 B
Ruby
Raw Normal View History

2014-03-07 07:15:52 +00:00
class MailCronFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :should_destroy, :type => Boolean
field :title
belongs_to :mail_cron
end