philipbrown/magniloquent — pull request #21 by rabas (2013-12-30 09:19:34+00:00)
Title: Check if the relationship is already loaded

Right now, the problem is that the relations are queried each time they are requested. This fixes it, and in case the relationship is already loaded, it is returned from `relations` array.