blob: e03a8b83ee6f56ab924c33d1165e8bba090e3cbe (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
module Ml
class CandidateMetric < ApplicationRecord
validates :candidate, presence: true
validates :name, length: { maximum: 250 }, presence: true
belongs_to :candidate, class_name: 'Ml::Candidate'
end
end
|