From: Michal Fojtik <[email protected]> This attribute is not defined in Collection schema, however we set that to 'default' ;-)
Signed-off-by: Michal fojtik <[email protected]> --- server/lib/cimi/models/collection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/cimi/models/collection.rb b/server/lib/cimi/models/collection.rb index c7f3b21..2c703e1 100644 --- a/server/lib/cimi/models/collection.rb +++ b/server/lib/cimi/models/collection.rb @@ -123,7 +123,7 @@ module CIMI::Model url = context.send(create) ops << { :rel => "add", :href => url } end - collection_class.new(:id => id, :name => 'default', + collection_class.new(:id => id, :count => entries.size, :entries => entries, :operations => ops, -- 1.8.0.2
