Sha256: 40e9cd92e30e65f51974a11f06d858cc95e7527f06a2eea8aed325666053c9bd

Contents?: true

Size: 130 Bytes

Versions: 11

Compression:

Stored size: 130 Bytes

Contents

class Role < ActiveRecord::Base
  has_and_belongs_to_many :users
  validates :title, presence: true
  attr_accessible :title

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/models/role.rb
forge-cli-0.1.9 lib/forge/app/models/role.rb
forge-cli-0.1.8 lib/forge/app/models/role.rb
forge-cli-0.1.7 lib/forge/app/models/role.rb
forge-cli-0.1.6 lib/forge/app/models/role.rb
forge-cli-0.1.5 lib/forge/app/models/role.rb
forge-cli-0.1.4 lib/forge/app/models/role.rb
forge-cli-0.1.3 lib/forge/app/models/role.rb
forge-cli-0.1.2 lib/forge/app/models/role.rb
forge-cli-0.1.1 lib/forge/app/models/role.rb
forge-cli-0.1.0 lib/forge/app/models/role.rb