1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
varvet--pundit/lib
Jay Hayes 2f20c58484 Raise more description exception for verify_policy_scoped
* The AuthorizationNotPerformedError is very descriptive of the
  situation when authorization is forgotten. In the case of no
  scoping, it can be a head scratcher.
* This new error type is implemented as a subclass of the current error
  type to prevent regressions in existing code. While this is not ideal,
  it is the simplest solution I could come up with for compatibility.
2014-07-08 06:53:52 -05:00
..
generators Inherit from application policy scope instead of using Struct 2014-06-24 01:43:31 +02:00
pundit Lookup policies in the current namespace 2014-05-22 12:55:34 -04:00
pundit.rb Raise more description exception for verify_policy_scoped 2014-07-08 06:53:52 -05:00