8 lines
157 B
Ruby
8 lines
157 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class UserDetail < ApplicationRecord
|
||
|
belongs_to :user
|
||
|
|
||
|
validates :job_title, presence: true, length: { maximum: 200 }
|
||
|
end
|