Orbit/app/models/design/design_file.rb

11 lines
195 B
Ruby

class DesignFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :to_save, :type => Boolean
field :to_destroy, :type => Boolean
end