diff --git a/app/models/procedure_presentation.rb b/app/models/procedure_presentation.rb index 9c2942884..160f6bdd0 100644 --- a/app/models/procedure_presentation.rb +++ b/app/models/procedure_presentation.rb @@ -336,7 +336,7 @@ class ProcedurePresentation < ApplicationRecord end end else - TypeDeChamp.find(field['column']).options_for_select + TypeDeChamp.find_by(stable_id: field['column']).options_for_select end end