mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
675d7c9c22
This matches the examples in the README, and is the correct behavior for anyone using ActiveRecord. Passing the `scope` object directly out can cause weird behavior when used like `policy_scope(MyKlass)`. |
||
---|---|---|
.. | ||
pundit | ||
rspec | ||
test_unit |