From acb945c9ce074b2cbf309a28dc5e41957d76ac68 Mon Sep 17 00:00:00 2001 From: Jo Liss Date: Tue, 27 Aug 2013 04:23:32 -0700 Subject: [PATCH] Document that nested @each does not work --- .../object-model/computed-properties-and-aggregate-data.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/guides/object-model/computed-properties-and-aggregate-data.md b/source/guides/object-model/computed-properties-and-aggregate-data.md index 4d8802d803..61196e2c33 100644 --- a/source/guides/object-model/computed-properties-and-aggregate-data.md +++ b/source/guides/object-model/computed-properties-and-aggregate-data.md @@ -53,3 +53,6 @@ todos.pushObject(todo); App.todosController.get('remaining'); // 1 ``` + +Note that `@each` only works one level deep. You cannot use nested forms like +`todos.@each.owner.name` or `todos.@each.owner.@each.name`.