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

14 lines
209 B
Ruby
Raw Permalink Normal View History

2014-02-19 03:26:02 +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