seminar2/app/models/seminar_signup_contribute.rb

14 lines
200 B
Ruby

class SeminarSignupContribute
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :description
field :title
belongs_to :seminar_signup
end