Sha256: 5bd8ad33b9b14566801efbeeaeea9a370e41f1aa58dcc7f0d5cc0fd02c704f15

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

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

__END__

  string  :pred,     null: false
  string  :obj_type
  integer :obj_id
  string  :desc

  index %i[pred obj_type obj_id], unique: true, name: 'permission_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/permission.erb
i_am_i_can-2.1.0 lib/generators/i_am_i_can/templates/models/permission.erb