Skip to content

[Request] Generate policy file when using scaffolding #735

@ghost

Description

Hi,

It would be great if running

rails g scaffold Model
rails g controller Model

would actually generate an empty policy file that inherits from ApplicationPolicy.

As a bonus, for resources scaffolding, maybe we could implements all CRUD actions and defaults to false.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions