illuminate/database — pull request #62 by jasonlewis (2012-11-27 07:41:24+00:00)
Title: Eloquent models can easily call increment and decrement.

If you have an existing model object you can't call increment or decrement on it without setting the wheres() manually.

You can now do:

~~~~
$user = User::find(1);

$user->increment('posts', 1);
~~~~

Signed-off-by: Jason Lewis