class <%= permit_name.to_s.camelize %>RolePermit < CanTango::RolePermit def initialize ability super end protected def permit_rules # insert your can, cannot and any other rule statements here <%= rules_logic.strip %> <%= license_logic %> end end