/**
  * Get information about latest commit
  *
  * @param null
  * @return Commit
  */
 function getLastCommit()
 {
     return Repositories::find(array('conditions' => array('parent_id = ? AND `type` = ?', $this->getId(), 'Commit'), 'order' => 'integer_field_1 DESC', 'one' => true));
 }