rulesio/rulesio — pull request #3 by iltempo (2012-09-09 16:48:38+00:00)
Title: Undefined local variable or method `current_user' for Devise::FailureApp

I received this exception when using `devise` and raising an **unauthorized** exception. Put that part into an rescue block because we don't even get a current_user there.