20846: Update associations syntax for ruby 3.
[arvados.git] / services / api / app / models / pipeline_instance.rb
index 23a08051caf75c1860992cbdeaeeb8b3d495d099..0b0af8b87d4e52eff8e28d7920f600ed6d883852 100644 (file)
@@ -9,11 +9,10 @@ class PipelineInstance < ArvadosModel
   serialize :components, Hash
   serialize :properties, Hash
   serialize :components_summary, Hash
-  belongs_to :pipeline_template, {
-               foreign_key: 'pipeline_template_uuid',
-               primary_key: 'uuid',
-               optional: true,
-             }
+  belongs_to :pipeline_template,
+             foreign_key: 'pipeline_template_uuid',
+             primary_key: 'uuid',
+             optional: true
 
   before_validation :bootstrap_components
   before_validation :update_state