title: Laravel 4 many to many relationship not working, pivot table not found
body: <p>I'm currently having problems with a n:n relationship with Laravel 4, I'm having an error wiht pivot table which is quering on a table with with both components on singular name. I create a pivot table lands_objs and populate it:</p>
  
  <p><strong>Models are:</strong></p>
  
  <pre><code>&lt;?php
      class Obj extends Eloquent
      {
          protected $guarded = array();
          public static $rules = array();
          public $timestamps = false;
          public function land()
          {
              return $this-&gt;belongsToMany('Land');
      }
  
  &lt;?php
  
      class Land extends Eloquent 
      {
          protected $guarded = array();
          public static $rules = array();
          public $timestamps = false;
  
          public function objs()
          {
              return $this-&gt;belongsToMany('Obj');
          }
       }
  </code></pre>
  
  <p>Here is how I populate the pivot table following the standards. Of course lands, objs and lands_objs tables exist:</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Migrations\Migration;
  
  class CreateLandsObjsTable extends Migration {
  
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
          Schema::create('lands_objs', function($table) {
              $table-&gt;integer('land_id');
              $table-&gt;integer('obj_id');
          });
      }
  }
  </code></pre>
  
  <p>With this structure I should be able to do thanks to Eloquent:</p>
  
  <pre><code>$land = Land::find(1);  //checked loads land fine
  $objs = $land-&gt;objs; //--&gt; HERE I TAKE THE ERROR
  </code></pre>
  
  <p>But I take the error:</p>
  
  <pre><code>SQLSTATE[42S02]: Base table or view not found: 1146 Table 'taylor.land_obj' doesn't exist
  (SQL: select `objs`.*, `land_obj`.`land_id` as `pivot_land_id`, `land_obj`.`obj_id`
  as `pivot_obj_id` from `objs` inner join `land_obj` on `objs`.`id` = `land_obj`.`obj_id`
  where `land_obj`.`land_id` = ?) (Bindings: array ( 0 =&gt; 1, ))
  </code></pre>
  
  <p>Shouldn't Laravel create the table lands_objs in spite of quering on land_obj? Am I missing something?</p>
  
  <p>Thanks a lot.</p>