Sha256: 4c601277bf3876cf26bcd2ea28db5a8757f4186627e181b4fe7d6e37d3afc686
Contents?: true
Size: 389 Bytes
Versions: 6
Compression:
Stored size: 389 Bytes
Contents
Description: Generates a policy for a model with the given name. Example: rails generate canner:policy user This will create: app/policies/user_policy.rb Note: If you have overridden fetch_roles, or created a base policy of your own you'll want to pass the parent option and specify your parent. rails generate canner:policy user --parent BasePolicy
Version data entries
6 entries across 6 versions & 1 rubygems