title: Error with Eloquent ORM in laravel 4
body: <p>i'm currently learning laravel and try to follow this tutorial. But im using laravel 4 and the tutorial is using laravel 3, so i should fix many things because of that. 
  I have this method on a controller </p>
  
  <pre><code>public function InsertTestData()
  {   
      $logged_in_user = Auth::user(); 
  
      $photos = array(
          array(
              'user_id' =&gt; $logged_in_user-&gt;id,
              'location' =&gt; 'http://farm6.staticflickr.com/5044/5319042359_68fb1f91b4.jpg',
              'description' =&gt; 'Dusty Memories, The Girl in the Black Beret (http://www.flickr.com/photos/cloudy-day/)'
          ),
          array(
              'user_id' =&gt; $logged_in_user-&gt;id,
              'location' =&gt; 'http://farm3.staticflickr.com/2354/2180198946_a7889e3d5c.jpg',
              'description' =&gt; 'Rascals, Tannenberg (http://www.flickr.com/photos/tannenberg/)'
          ),
          array(
              'user_id' =&gt; $logged_in_user-&gt;id,
              'location' =&gt; 'http://farm7.staticflickr.com/6139/5922361568_85628771cd.jpg',
              'description' =&gt; 'Sunset, Funset, Nikko Bautista (http://www.flickr.com/photos/nikkobautista/)'
          )
      );
      $logged_in_user-&gt;photos()-&gt;save($photos);
  }
  </code></pre>
  
  <p>and this is the model i used</p>
  
  <pre><code>class User extends Eloquent implements UserInterface, RemindableInterface {
      public function photos()
      {
      return $this-&gt;hasMany('Photo');
      }
  }
  </code></pre>
  
  <p>it retuns error like this</p>
  
  <pre><code>Argument 1 passed to Illuminate\Database\Eloquent\Relations\HasOneOrMany::save() must be an instance of Illuminate\Database\Eloquent\Model, array given, called in /Library/WebServer/Documents/webpraktek/app/controllers/DashboardController.php on line 44 and defined
  </code></pre>
  
  <p>line 44 is this line</p>
  
  <pre><code>$logged_in_user-&gt;photos()-&gt;save($photos);
  </code></pre>
  
  <p>this is model for class photo</p>
  
  <pre><code>class Photo extends Eloquent
  {
      public function user()
      {
          return $this-&gt;belongsTo('User');
      }
  
      public function photocomments()
      {
          return $this-&gt;hasMany('PhotoComment');
      }
  }
  </code></pre>
  
  <p>i dont know anything to fix this problem, since i'm still learning. why is this happen? does the different in laravel version causing this kind of error?
  thanks</p>
  
  <p>EDIT: i fixed it with this for now,</p>
  
  <pre><code>foreach($photos as $photo) {
      $photos = new Photo();
      $photos-&gt;user_id = $photo['user_id'];
      $photos-&gt;location = $photo['location'];
      $photos-&gt;description = $photo['description'];
      $photos-&gt;save();
  }
  </code></pre>