emberjs/ember.js — pull request #3884 by fivetanley (2013-12-08 04:00:11+00:00)
Title: [BUGFIX beta] - assert array gets returned from model hook

Adds an assert at the route level to warn application authors if they
setup up an ArrayController with a non-array.

Also implemented wrapping of the content at ArrayProxy level due to
`intermediateTransitionTo` skipping the `setup` functino in routes
routes when transitioning from error/loading to another route.

fixes #3869