UnionOfRAD/lithium — pull request #586 by jails (2012-07-18 13:58:26+00:00)
Title: Lazy load model's relationships

Currently relations are all instanciated on Model::_init(). With `belongTo` relations, the `Relationship` class need to get the key of the `belongTo` model which lead to instanciate the relations of the relation and so on with all `belongTo` relations.

This PR, will load relations on `Model::relations()` and no more on `Model::_init()`