File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,7 @@ Action Policy is an authorization framework for Ruby and Rails applications.
2121Add this line to your application's ` Gemfile ` :
2222
2323``` ruby
24- gem " action_policy"
25- # or start from the new version,
26- # which is coming soon (it contains much more useful features)
27- gem " action_policy" , " 0.3.0.beta1"
24+ gem " action_policy" , " ~> 0.3.0"
2825```
2926
3027And then execute:
Original file line number Diff line number Diff line change 55
66> Action Policy is an authorization framework for Ruby and Rails applications.
77
8- ** NOTE:** this documentation covers the _ coming-soon _ version "0.3.0" ( [ first beta ] ( https://rubygems.org/gems/action_policy ) is out!) .
8+ ** NOTE:** this documentation is for the version "0.3.0+" .
99
1010## What is it?
1111
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ def feed?
1717 (admin? || allowed_to?(:access_feed? )) &&
1818 (user.name == " Jack" || user.name == " Kate" )
1919end
20+
2021```
2122
2223Suppose that you want to debug this rule ("Why does it return false?").
You can’t perform that action at this time.
0 commit comments