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

14 lines
209 B
Ruby

class MailCronFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :should_destroy, :type => Boolean
field :title
belongs_to :mail_cron
end