hyperoslo/gamification — pull request #5 by jgorset (2014-04-11 10:38:44+00:00)
Title: Remove Goal.complete_for

This class method has some serious implications in that it overrides the
default scope of Gamification::Goal, causing it to be scoped to its
return value in subsequent invocations.

For example:

Gamification::Goal.count # => 3
Gamification::Goal.complete_for user
Gamification::Goal.count # => 1