laravel/framework — pull request #1418 by radmen (2013-05-27 12:59:49+00:00)
Title: [Patch] remember() for relations in Eloquent\Builder

I found out that `remember()` works only with model query builder. Related models are not cached.

This patch provides the functionality for caching related models queries.

@taylorotwell could You take a minute and review it?
I'm not sure what to do with parent model cache key.

For now related models won't get cache key from parent (because it will conflict with cache data).