I have the following relationships set up in Laravel:
OrderStatus Model - hasMany(\'Order\') Order Model - \'belongsTo(\'OrderStatus\');
The correct way, to save a relationship for a new related model is as follows:
$status = OrderStatus::where(['name'=>'sample_status'])->firstOrFail(); $order = new Order; $status->order()->save($order);
Documentation link : http://laravel.com/docs/4.2/eloquent#inserting-related-models