Last reviewed: 2024-08-27
Casa has custom a custom policy file generator.
Example Usage: bin/rails g policy CasaThing
bin/rails g policy CasaThing
This will create:
app/policies/casa_thing_policy.rb spec/policies/casa_thing_policy_spec.rb
See rails g policy --help for more options
rails g policy --help
There was an error while loading. Please reload this page.