laravel/framework — pull request #74 by helmut (2013-01-17 00:59:23+00:00)
Title: [Proposal] Allow raw response of type array to display

Taking a look through the documentation here:
http://four.laravel.com/docs/eloquent#converting-to-arrays-or-json

With examples like:

return User::all()->toArray();

I hit the error

UnexpectedValueException: The Response content must be a string or object implementing __toString(), "array" given.

And that made me think that if you can return json why not be able to return an array and see the contents. So I modified the code in response to allow me to simply return an array and then it is displayed on the screen.

Array
(
[id] => 1
[name] => John Smith
)

Just playing around really but thought I might share this idea. It probably will break the entire system somehow no doubt.