Merge branch '21535-multi-wf-delete'
[arvados.git] / services / api / app / models / virtual_machine.rb
index 0b3557eef6c68a802c977436dc979c3c138fedfa..09687385cad88b29c4a388e713d805a67003de2d 100644 (file)
@@ -9,9 +9,9 @@ class VirtualMachine < ArvadosModel
 
   has_many(:login_permissions,
            -> { where("link_class = 'permission' and name = 'can_login'") },
-           foreign_key: :head_uuid,
+           foreign_key: 'head_uuid',
            class_name: 'Link',
-           primary_key: :uuid)
+           primary_key: 'uuid')
 
   api_accessible :user, extend: :common do |t|
     t.add :hostname