title: Eloquent "select" method not working with using "with" method
body: <p>My Village model;</p>
  
  <pre><code>&lt;?php
  namespace App;
  use Illuminate\Database\Eloquent\Model;
  
  class Village extends Model {
      public function positions() {
          return $this-&gt;belongsTo(Map::class, 'id', 'field_id');
      }
  }
  </code></pre>
  
  <p>My Map class migration;</p>
  
  <pre><code>Schema::create('map_data', function (Blueprint $table) {
      $table-&gt;increments('id');
      $table-&gt;integer('field_type');
      $table-&gt;integer('field_id');
      $table-&gt;string('x');
      $table-&gt;string('y');
      $table-&gt;timestamps();
  });
  </code></pre>
  
  <p>My "villages" methon on "VillageController" class;</p>
  
  <pre><code>public function villages() {
      $villages = Village::with([
          'positions' =&gt; function ($query) {
              $query-&gt;select('x', 'y');
          }
      ])-&gt;get();
  
      return $villages;
  }
  </code></pre>
  
  <p>Result;</p>
  
  <pre><code>{
    "villages": [
      {
        "id": 1,
        "name": "village 1",
        "created_at": "2016-10-26 18:36:34",
        "updated_at": "2016-10-26 18:36:34",
        "positions": null
      },
      {
        "id": 2,
        "name": "village 2",
        "created_at": "2016-10-26 18:36:34",
        "updated_at": "2016-10-26 18:36:34",
        "positions": null
      }
    ]
  }
  </code></pre>
  
  <p>"Select" method only needs to be mentioned, but not the column returns NULL.</p>
  
  <p>If I delete the <code>$query-&gt;select('x', 'y');</code> code returns the following results.</p>
  
  <pre><code>{
    "villages": [
      {
        "id": 1,
        "name": "village 1",
        "created_at": "2016-10-26 18:36:34",
        "updated_at": "2016-10-26 18:36:34",
        "positions": {
          "id": 1,
          "field_type": "1",
          "field_id": "1",
          "x": "21",
          "y": "21",
          "created_at": "2016-10-26 18:36:34",
          "updated_at": "2016-10-26 18:36:34"
        }
      },
      {
        "id": 2,
        "name": "village 2",
        "created_at": "2016-10-26 18:36:34",
        "updated_at": "2016-10-26 18:36:34",
        "positions": {
          "id": 2,
          "field_type": "1",
          "field_id": "2",
          "x": "0",
          "y": "0",
          "created_at": "2016-10-26 18:36:34",
          "updated_at": "2016-10-26 18:36:34"
        }
      }
    ]
  }
  </code></pre>
  
  <p>But I use the <code>$query-&gt;select('x');</code> code and the result should be the following</p>
  
  <p>resource: <a href="https://stackoverflow.com/a/32185643/3287225">https://stackoverflow.com/a/32185643/3287225</a></p>