title: Self-join with Laravel
body: <p>How can I do a self-join with Laravel 3 or 4?</p>
  
  <pre><code>class Category extends Eloquent {
  
       public function category ()
       {
            return $this-&gt;has_one('Category');
       }
  
  
  }
  </code></pre>