From: Michal Fojtik <[email protected]>
Signed-off-by: Michal fojtik <[email protected]> --- server/lib/cimi/models/schema.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/lib/cimi/models/schema.rb b/server/lib/cimi/models/schema.rb index b069622..d0612a6 100644 --- a/server/lib/cimi/models/schema.rb +++ b/server/lib/cimi/models/schema.rb @@ -226,7 +226,8 @@ class CIMI::Model::Schema end def from_xml(xml, model) - raise "Parsing collections (#{name}) not supported" + #raise "Parsing collections (#{name}) not supported" + model[name] = xml[xml_name] end def from_json(json, model) -- 1.7.10.2
