Sha256: 92ce65a3a1a9041f84477fec88ce4169470aa33604d65be9bc5ef3cbc0034545

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

class <%= name.camelize %>Role < ActiveRecord::Base
end

__END__

  string  :name,           null: false
  integer :permission_ids, array: true, default: [ ]
  string  :desc

  index :name, unique: true, name: 'role_unique_index'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i_am_i_can-3.0.0pre lib/generators/i_am_i_can/templates/models/role.erb
i_am_i_can-2.1.0 lib/generators/i_am_i_can/templates/models/role.erb