adding #attributes to HasManyRelation