docs/quick_start.md in action_policy-0.2.2 vs docs/quick_start.md in action_policy-0.2.3
- old
+ new
@@ -34,9 +34,11 @@
end
```
**NOTE:** it is not necessary to inherit from `ActionPolicy::Base`; instead, you can [construct basic policy](custom_policy.md) choosing only the components you need.
+Rules must be public methods on the class. Using private methods as rules will raise an error.
+
Consider a simple example:
```ruby
class PostPolicy < ApplicationPolicy
# everyone can see any post