olympiamanagement/app/models/olympia_student_image.rb

9 lines
271 B
Ruby

class OlympiaStudentImage
include Mongoid::Document
include Mongoid::Timestamps
# encoding: utf-8
include OrbitTag::Taggable
include OrbitCategory::Categorizable
mount_uploader :student_file, OlympiaImagesUploader
belongs_to :olympia_student_data_fields
end