From d7aca820e521f716d18e54f33e01c466998a9ad8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 22 Jun 2011 10:39:52 -0700 Subject: [PATCH] Clarified comments in Eloquent\Hydrator. --- system/db/eloquent/hydrator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/db/eloquent/hydrator.php b/system/db/eloquent/hydrator.php index ab068fed..f4ba7e02 100644 --- a/system/db/eloquent/hydrator.php +++ b/system/db/eloquent/hydrator.php @@ -78,8 +78,9 @@ class Hydrator { // ----------------------------------------------------- // Get the relationship Eloquent model. // - // We temporarily spoof the "belongs_to" key to allow - // the query to be fetched without any problems. + // We temporarily spoof the belongs_to key to allow the + // query to be fetched without any problems, since the + // belongs_to method actually gets the attribute. // ----------------------------------------------------- $eloquent->attributes[$spoof = $include.'_id'] = 0;