laravel/laravel — pull request #399 by kbanman (2012-03-09 16:55:54+00:00)
Title: Develop

Fixes the issue I mentioned on IRC yesterday where a complex table expression doesn't work in Query Builder. Even wrapping the expression in `DB::raw()` didn't matter because adding the table prefix (even if blank) cast the `Expression` back into a string, with undesirable results.

This patch makes sure that raw expressions are not prefixed. I suppose this will need to be noted in the documentation.