Sha256: a6c13c787c074fc724b9a00b9baafd6387f0f60fbd9dc412f0408def72ffb834

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

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

__END__

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

  index :name, unique: true, name: 'role_group_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_group.erb
i_am_i_can-2.1.0 lib/generators/i_am_i_can/templates/models/role_group.erb