emberjs/data — pull request #1082 by sidonath (2013-07-10 14:38:52+00:00)
Title: Extract validation errors with correct relationship names

With #831 in place it's impossible to get validation errors for related objects, such as those values assigned through a `` element.

With this modification both the errors from attributes and from `belongsTo` associations would be allowed.

@tchak mentions this could be dangerous in #909, but there hasn't been any solution proposed.

If this is a no-go, we should figure out different approach. Whitelisting attributes on model level wouldn't work since error extraction is an adapter/serializer concern. Or maybe revisit #910 — if I understood correctly, with the PR merged in, #831 could be rolled back.