title: Error on Model:all() in Laravel 5
body: <p>can you help me out?</p>
  
  <p>I'm just starting up with laravel 5 and can't get this simple Model:all() to work. I'm sure that I'm doing something wrong, but I can't find out what.</p>
  
  <p>Here's what I have:</p>
  
  <p>routes.php</p>
  
  <pre><code>Route::get('/', 'PageController@index');
  </code></pre>
  
  <p>Partner.php</p>
  
  <pre><code>&lt;?php namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Partner extends Model {
      protected $table = 'tab_parceiro';
      protected $fillable = '';
      public $timestamps = false;
  
      protected $primaryKey = 'codigo';
  }
  </code></pre>
  
  <p>PageController.php</p>
  
  <pre><code>&lt;?php namespace App\Http\Controllers;
  
  class PageController extends Controller {
  
      public function __construct()
      {
      }
  
      public function index()
      {
          $partners = \App\Partner::all();
  
          //return view('index', compact('partners'));
      }
  
  }
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>[2015-03-14 12:50:22] production.ERROR: exception 'ErrorException' with message 'array_flip() expects parameter 1 to be array, string given' in /home/ubuntu/workspace/storage/framework/compiled.php:9360
  </code></pre>
  
  <p>Table</p>
  
  <pre><code>| tab_parceiro | CREATE TABLE `tab_parceiro` (
    `CODIGO` int(11) NOT NULL AUTO_INCREMENT,
    `NOME` varchar(200) DEFAULT NULL,
    `ENDERECO` varchar(100) DEFAULT NULL,
    `TELEFONE` varchar(20) DEFAULT NULL,
    `EMAIL` varchar(50) DEFAULT NULL,
    `SITE` varchar(100) DEFAULT NULL,
    `CONTATO` varchar(50) DEFAULT NULL,
    `OBS` text,
    PRIMARY KEY (`CODIGO`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 |
  </code></pre>
  
  <p>The view actually doesn't matter, because the error occurs before the view is called.</p>