title: Eager Loading from the model in Laravel 4
body: <p>In Laravel 3, one could do the following in the model (<a href="http://laravel.com/docs/database/eloquent#eager">http://laravel.com/docs/database/eloquent#eager</a>):</p>
  
  <pre><code>class Book extends Eloquent 
  {
       public $includes = array('author');     // this line
  
       public function author()
       {
             return $this-&gt;belongs_to('Author');
       }
  }
  </code></pre>
  
  <p>which was useful if loading the same models often.</p>
  
  <p>In Laravel 4, adding "this line" doesn't seem to do cause eager loading though. It also doesn't seem to be mentioned in the docs (<a href="http://four.laravel.com/docs/eloquent#eager-loading">http://four.laravel.com/docs/eloquent#eager-loading</a>).</p>
  
  <p>Has it been replaced by something else or is this functionality simply gone?</p>
  
  <hr>
  
  <p>Update:</p>
  
  <p>I've looked at the source for model (so nice to read). It's now:</p>
  
  <pre><code>/**
   * The relations to eager load on every query.
   *
   * @var array
   */
  protected $with = array();
  </code></pre>
  
  <p>Is there any way that I can suggest this to be added (back) to the documentation (it seems like one of those little things that can easily be overlooked)?</p>