Sha256: 29145685a7abdcc003e3282eeb6fd3e3cad3e3e1770f112ec3bcd80c0e0909e6

Contents?: true

Size: 168 Bytes

Versions: 9

Compression:

Stored size: 168 Bytes

Contents

module Georgia
	class Role < ActiveRecord::Base

		attr_accessible :name

		has_and_belongs_to_many :users

		validates :name, presence: true, uniqueness: true
	end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
georgia-0.7.8 app/models/georgia/role.rb
georgia-0.7.7 app/models/georgia/role.rb
georgia-0.7.6 app/models/georgia/role.rb
georgia-0.7.5 app/models/georgia/role.rb
georgia-0.7.4 app/models/georgia/role.rb
georgia-0.7.3 app/models/georgia/role.rb
georgia-0.7.2 app/models/georgia/role.rb
georgia-0.7.1 app/models/georgia/role.rb
georgia-0.7.0 app/models/georgia/role.rb