Do not raise exception when Avis is not valid, just fix the data
This commit is contained in:
parent
7932085976
commit
5a0eca5ccc
2 changed files with 20 additions and 1 deletions
|
@ -20,7 +20,7 @@ module Maintenance
|
|||
expert: expert
|
||||
)
|
||||
|
||||
avis.update!(experts_procedure: correct_experts_procedure)
|
||||
avis.update_column(:experts_procedure_id, correct_experts_procedure.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue