laravel/framework — pull request #3420 by markhuot (2014-01-31 21:30:13+00:00)
Title: Update the foreign key generation

Now uses the `getForeignKey` method on the related model. This is useful when subclassing Eloquent and overriding key names while working with non-standard column names.

For example, if you have a BaseModel such as…

```php