emberjs/data — pull request #205 by kyptin (2012-04-18 16:57:54+00:00)
Title: Fix computed properties for embedded hasMany relationships (fixes #191)

This commit fixes Issue #191, where:

- a model A `hasMany` model B's,
- the model B objects are embedded in a model A object, and
- model A has a computed property that depends on *a property of* the
hasMany association.

In such a case, what should have been the IDs of the embedded model B
objects were actually the objects themselves, which was causing
problems.

This bug is fixed in this commit and covered by a new test.