Merging 17824:17845 from trunk to blocking branch.
[rails.git] / app / models / user_role.rb
1 class UserRole < ActiveRecord::Base
2
3   ALL_ROLES = ['administrator', 'moderator']
4
5   validates_inclusion_of :role, :in => ALL_ROLES
6   belongs_to :user
7
8 end