From be3ddaccc3c5626f138b4d6c0084e5166fca749f Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Mon, 29 May 2017 14:56:59 +0200 Subject: [PATCH] Always return data with symbolized keys Always return data with symbolized keys --- app/models/manager_refresh/inventory_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manager_refresh/inventory_object.rb b/app/models/manager_refresh/inventory_object.rb index ca61d898794..7b3b363d48a 100644 --- a/app/models/manager_refresh/inventory_object.rb +++ b/app/models/manager_refresh/inventory_object.rb @@ -74,7 +74,7 @@ def attributes(inventory_collection_scope = nil) end end - attributes_for_saving + attributes_for_saving.symbolize_keys end def assign_attributes(attributes)