Sha256: 3ae6d2c1d5b6f4bc6fb085fbc9fcef3ecd14c3c9e714fbfc9ac06de57e9a06ad

Contents?: true

Size: 176 Bytes

Versions: 22

Compression:

Stored size: 176 Bytes

Contents

Description:
    Generates a policy for a model with the given name.

Example:
    rails generate pundit:policy user

    This will create:
        app/policies/user_policy.rb

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
pundit-2.4.0 lib/generators/pundit/policy/USAGE
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/pundit-2.2.0/lib/generators/pundit/policy/USAGE
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/pundit-2.2.0/lib/generators/pundit/policy/USAGE
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/pundit-2.2.0/lib/generators/pundit/policy/USAGE
pundit-2.3.1 lib/generators/pundit/policy/USAGE
pundit-2.3.0 lib/generators/pundit/policy/USAGE
pundit-2.2.0 lib/generators/pundit/policy/USAGE
pundit-2.1.1 lib/generators/pundit/policy/USAGE
pundit-2.1.0 lib/generators/pundit/policy/USAGE
pundit-2.0.1 lib/generators/pundit/policy/USAGE
pundit-2.0.0 lib/generators/pundit/policy/USAGE
pundit-2.0.0.beta1 lib/generators/pundit/policy/USAGE
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/pundit-1.1.0/lib/generators/pundit/policy/USAGE
pundit-1.1.0 lib/generators/pundit/policy/USAGE
pundit-1.0.1 lib/generators/pundit/policy/USAGE
pundit-1.0.0 lib/generators/pundit/policy/USAGE
pundit-0.3.0 lib/generators/pundit/policy/USAGE
pundit-0.2.3 lib/generators/pundit/policy/USAGE
pundit-0.2.2 lib/generators/pundit/policy/USAGE
pundit-0.2.1 lib/generators/pundit/policy/USAGE