title: Saving a One to One Polymorphic relation in Laravel 4
body: <p>I'm having some trouble while saving a polymorphic one-to-one relation with Laravel 4, this is my model:</p>
  
  <pre><code>namespace App\Models\Proveedores;
  
  class Proveedor extends \Eloquent {
  
  public function proveedorable () {
      return $this-&gt;morphTo('proveedorable', 'proveedorable_type', 'proveedorable_id');
  }
  </code></pre>
  
  <p>And this is the specific model:</p>
  
  <pre><code>namespace App\Models\Proveedores;
  
  class ProveedorTerminacion extends \Eloquent {
  
  public function proveedor () {
      return $this-&gt;morphOne ('App\Models\Proveedores\Proveedor', 'proveedorable', 'proveedorable_type', 'proveedorable_id');
  }
  </code></pre>
  
  <p>This way I'm trying to save a <code>Proveedor</code> associated with a specific <code>ProveedorTerminacion</code> model, but for some reason a row for <code>ProveedorTerminacion</code> is created in my table, but not for <code>Proveedor</code> and Laravel won't show any error and return an empty response, what's wrong?</p>
  
  <pre><code>$terminador = ProveedorTerminacion::create (Input::all());
  
  $proveedor = new Proveedor;
  $proveedor-&gt;fill (Input::all());
  
  $proveedor-&gt;proveedorable()-&gt;associate ($terminador);
  
  $proveedor-&gt;save ();
  </code></pre>