ask/app/models/ask_file.rb

7 lines
137 B
Ruby
Raw Normal View History

class AskFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :ask_question_id
end