laravel/laravel — pull request #283 by jaysonic (2012-01-28 02:14:35+00:00)
Title: Fix for validate_unique to allow column name and ID

If developers are updating and using unique to check for a unique column they can specify the column name as well as the current records ID. Saves having two methods.

~~~~
unique:tablename,columname,id
~~~~

Of course if none are provided then the column name is still set to the attribute name.