diff --git a/src/Purekid/Mongodm/Model.php b/src/Purekid/Mongodm/Model.php
index <HASH>..<HASH> 100644
--- a/src/Purekid/Mongodm/Model.php
+++ b/src/Purekid/Mongodm/Model.php
@@ -256,6 +256,20 @@ abstract class Model
 	}
 	
 	/**
+	 * retrieve a record by MongoRef
+	 * @param mixed $ref
+	 * @return Purekid\Mongodm\Model 
+	 */
+	public static function ref( $ref ){
+		if(isset($ref['$id'])){
+			if($ref['$ref'] == self::collectionName()){
+				return self::id($ref['$id']);
+			}
+		}
+		return null;
+	}
+	
+	/**
 	 * Create a Mongodb reference 
 	 * @return MongoRef Object
 	 */
@@ -268,6 +282,7 @@ abstract class Model
 	
 	}
 	
+	
 	/****************************************************
 	 *	Magic Methods
 	****************************************************/
@@ -306,7 +321,6 @@ abstract class Model
 		if( isset($reference['record']) ){
 			return $reference['record'];
 		}else{
-		
 			if(class_exists($model)){
 				if($type == "one"){
 					if(\MongoDBRef::isRef($value)){
add a method that retrieve record by MongoRef