First version of blocking feature. Allows both time-based (for map protection) and...
[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