emberjs/data — pull request #1400 by bradleypriest (2013-10-02 03:06:31+00:00)
Title: Normalize hasMany polymorphic types. Fixes #1338

I am not at all happy with the nested if's going on here.