elabs/pundit — pull request #117 by thomasklemm (2014-02-27 22:33:37+00:00)
Title: Extend NotAuthorizedError with user, record and query

#114 is the real thing. Just a test whether passing in a message to `e = Exception.new; raise e` works on all supported Ruby runtimes.