Make party association optional in Job
This commit is contained in:
parent
699e467ad6
commit
d8eee21f99
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
class Job < ApplicationRecord
|
||||
include PgSearch::Model
|
||||
|
||||
belongs_to :party
|
||||
belongs_to :party, optional: true
|
||||
has_many :skills, class_name: 'JobSkill'
|
||||
|
||||
multisearchable against: %i[name_en name_jp],
|
||||
|
|
|
|||
Loading…
Reference in a new issue