Sha256: 289a099f2ea8d8f3fb216920cec590a4a3d9ed25d4ac7647f327bbd93e7b1942

Contents?: true

Size: 169 Bytes

Versions: 28

Compression:

Stored size: 169 Bytes

Contents

# -*- encoding : utf-8 -*-
class Permission < ActiveRecord::Base

  has_and_belongs_to_many :user
  
  validates :name, :uniqueness => true
  attr_accessible :name

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
mdd-3.1.1 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.1.0 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.20 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.19 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.18 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.17 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.16 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.15 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.14 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.13 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.10 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.9 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.8 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.7 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.6 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.4 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.3 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.2 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.1 lib/generators/mdwa/sandbox/templates/app/models/permission.rb
mdd-3.0.0 lib/generators/mdwa/sandbox/templates/app/models/permission.rb