laravel/framework — pull request #1416 by fadillzzz (2013-05-27 10:52:47+00:00)
Title: Namespace Support for Relation in Eloquent

When a relational model is namespaced, Eloquent will try to call the relation method along with the namespace of that class, which will throw an undefined method error. This should fix the issue by telling it to call the method based on the class name, but without the namespace.