illuminate/database — pull request #60 by franzliedke (2012-11-25 16:16:56+00:00)
Title: Collection::load()

This exposes a method for eagerly loading a certain relationship for all elements of a collection.

I also changed the existing code to make use of this method.

---

Note: this is still a work-in-progress. I have fixed some of the currently broken tests (they need to be changed, as they depend somewhat on implementation details) locally, will do the rest in the coming days (plus new tests for the collection class, obviously).