collectiveidea/audited — pull request #123 by flugsio (2012-11-11 14:29:31+00:00)
Title: Reset audited_user when yield raises exception

Because if it's not set to nil, all audits made from the sweeper will
use the user from this block instead of current_user, until
Audit.as_user is called again.