GroupTalent/epf — pull request #78 by belluzj (2013-08-26 09:38:50+00:00)
Title: load lazy models only when they have a session

This fix removed lots of errors from my console, and stabilized my app.

It seems that while EPF loads json with sideloaded models, at some point models don't have a session yet but are triggered to load because of observers. Without this fix it just breaks and the lazy model is never resolved. With it, the loading eventually takes place.