recruitment/app/models/employee_recommendation.rb

12 lines
243 B
Ruby
Raw Normal View History

class EmployeeRecommendation
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :email
field :info
field :employee_recommendation_token
2018-01-16 12:06:04 +00:00
mount_uploader :file, AssetUploader
belongs_to :employee_profile
end