From 40445e9653bc337d1cb9db2cc00656b631ae1c9e Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Fri, 24 Mar 2017 14:40:56 -0400 Subject: [PATCH] inverse_of should be a symbol --- app/models/physical_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/physical_server.rb b/app/models/physical_server.rb index 2543d3fb2fb..228b14cabef 100644 --- a/app/models/physical_server.rb +++ b/app/models/physical_server.rb @@ -5,7 +5,7 @@ class PhysicalServer < ApplicationRecord belongs_to :ext_management_system, :foreign_key => :ems_id, :class_name => "ManageIQ::Providers::PhysicalInfraManager" - has_one :host, inverse_of => :physical_server + has_one :host, :inverse_of => :physical_server def name_with_details details % {