20300: Update symbols to strings in relations.
[arvados.git] / services / api / app / models / node.rb
index 2770dd5ccc048935d137bcbcf67eb383ad4b362e..9e250acfb11f794e78452ab5e08746ad8c973eec 100644 (file)
@@ -21,8 +21,8 @@ class Node < ArvadosModel
   # have access to the associated Job.  They're expected to set
   # job_readable=true if the Job UUID can be included in the API response.
   belongs_to :job, {
-               foreign_key: :job_uuid,
-               primary_key: :uuid,
+               foreign_key: 'job_uuid',
+               primary_key: 'uuid',
                optional: true,
              }
   attr_accessor :job_readable