Working With App Permissions - rubyforgood/casa GitHub Wiki

Casa has custom a custom policy file generator.

Example Usage: 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