This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/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