laravel/framework — pull request #2664 by nenads (2013-11-06 22:48:02+00:00)
Title: Update Model.php

If we specify/map $table name, same rule should apply for foreign key rule.

Bug when class extend Eloquent and it's name differ then table name(when using Repositories), then we need explicitly to specify relation foreign key. $this->('someModel', 'table_fk'). If we don't it eats memory.